deprecated

  Use Censor Logging utilities

### Hierarchy

- LoggerUtils

## Index

### Properties

- CENSORED_OPTIONS
- CENSOR_RESPONSE
- SECURE_PROMPT_OPTIONS

### Accessors

- profileSchemas

### Methods

- censorCLIArgs
- censorRawData
- censorYargsArguments
- isSpecialValue
- setProfileSchemas

## Properties

### Static CENSORED_OPTIONS

CENSORED_OPTIONS: string[] = Censor.CENSORED_OPTIONS

- Defined in @zowe/imperative/src/logger/src/LoggerUtils.ts:30

deprecated

  Use Censor.CENSORED_OPTIONS

### Static Readonly CENSOR_RESPONSE

CENSOR_RESPONSE: "****" = Censor.CENSOR_RESPONSE

- Defined in @zowe/imperative/src/logger/src/LoggerUtils.ts:25

deprecated

  Use Censor.CENSOR_RESPONSE

### Static Readonly SECURE_PROMPT_OPTIONS

SECURE_PROMPT_OPTIONS: string[] = Censor.SECURE_PROMPT_OPTIONS

- Defined in @zowe/imperative/src/logger/src/LoggerUtils.ts:35

deprecated

  Use Censor.SECURE_PROMPT_OPTIONS

## Accessors

### Static profileSchemas

- get profileSchemas(): ICommandProfileTypeConfiguration[]

- - Defined in @zowe/imperative/src/logger/src/LoggerUtils.ts:60
  deprecated

    use Censor.profileSchemas

  #### Returns ICommandProfileTypeConfiguration[]

## Methods

### Static censorCLIArgs

- censorCLIArgs(args: string[]): string[]

- - Defined in @zowe/imperative/src/logger/src/LoggerUtils.ts:43

  Copy and censor any sensitive CLI arguments before logging/printing

  deprecated

    Use Censor.censorCLIArgs

  #### Parameters

  - ##### args: string[]

  #### Returns string[]

### Static censorRawData

- censorRawData(data: string, category?: string): string

- - Defined in @zowe/imperative/src/logger/src/LoggerUtils.ts:89

  Copy and censor any sensitive CLI arguments before logging/printing

  deprecated

    Use Censor.censorRawData

  #### Parameters

  - ##### data: string

  - ##### Default value category: string = ""

  #### Returns string

### Static censorYargsArguments

- censorYargsArguments(args: Arguments): Arguments

- - Defined in @zowe/imperative/src/logger/src/LoggerUtils.ts:53

  Copy and censor a yargs argument object before logging

  deprecated

    Use Censor.censorYargsArguments

  #### Parameters

  - ##### args: Arguments

    the args to censor

  #### Returns Arguments

  a censored copy of the arguments

### Static isSpecialValue

- isSpecialValue(prop: string): boolean

- - Defined in @zowe/imperative/src/logger/src/LoggerUtils.ts:79

  Specifies whether a given property path (e.g. "profiles.lpar1.properties.host") is a special value or not. Special value: Refers to any value defined as secure in the schema definition. These values should be already masked by the application (and/or plugin) developer.

  deprecated

    Use Censor.isSpecialValue

  #### Parameters

  - ##### prop: string

    Property path to determine if it is a special value

  #### Returns boolean

  True - if the given property is to be treated as a special value; False - otherwise

### Static setProfileSchemas

- setProfileSchemas(_schemas: Map<string, IProfileSchema>): void

- - Defined in @zowe/imperative/src/logger/src/LoggerUtils.ts:67
  deprecated

    use Censor.setProfileSchemas

  #### Parameters

  - ##### _schemas: Map<string, IProfileSchema>

  #### Returns void

Generated using TypeDoc