### Hierarchy

- ImperativeApi

### Indexable

[key: string]: any

index signature for accessing Imperative api via dictionary [] notation.

## Index

### Constructors

- constructor

### Properties

- mApis
- mConfig
- mCustomLoggerMap
- mHome
- mLog

### Accessors

- appLogger
- imperativeLogger

### Methods

- addAdditionalLogger
- additionalLogger

## Constructors

### constructor

- new ImperativeApi(mApis: IImperativeApi, mConfig: IImperativeConfig, mHome: string): ImperativeApi

- - Defined in @zowe/imperative/src/imperative/src/api/ImperativeApi.ts:26

  #### Parameters

  - ##### mApis: IImperativeApi

  - ##### mConfig: IImperativeConfig

  - ##### mHome: string

  #### Returns ImperativeApi

## Properties

### Private mApis

mApis: IImperativeApi

- Defined in @zowe/imperative/src/imperative/src/api/ImperativeApi.ts:28

### Private mConfig

mConfig: IImperativeConfig

- Defined in @zowe/imperative/src/imperative/src/api/ImperativeApi.ts:28

### Private mCustomLoggerMap

mCustomLoggerMap: {}

- Defined in @zowe/imperative/src/imperative/src/api/ImperativeApi.ts:26

#### Type declaration

- ##### [key: string]: Logger

### Private mHome

mHome: string

- Defined in @zowe/imperative/src/imperative/src/api/ImperativeApi.ts:28

### Private mLog

mLog: Logger

- Defined in @zowe/imperative/src/imperative/src/api/ImperativeApi.ts:25

Input parameters to construct the API object

## Accessors

### appLogger

- get appLogger(): Logger

- - Defined in @zowe/imperative/src/imperative/src/api/ImperativeApi.ts:43

  Returns an imperative app's logger API object

  #### Returns Logger

  : The imperative app's logger api object.

### imperativeLogger

- get imperativeLogger(): Logger

- - Defined in @zowe/imperative/src/imperative/src/api/ImperativeApi.ts:35

  Returns the imperative logger API object

  #### Returns Logger

  : The imperative logger api object.

## Methods

### addAdditionalLogger

- addAdditionalLogger(name: string, logger: Logger): void

- - Defined in @zowe/imperative/src/imperative/src/api/ImperativeApi.ts:62

  Register a logger with the Imperative API Mostly used internally in Imperative

  #### Parameters

  - ##### name: string

    the name of the logger to register

  - ##### logger: Logger

    the logger to store

  #### Returns void

### additionalLogger

- additionalLogger(name: string): Logger

- - Defined in @zowe/imperative/src/imperative/src/api/ImperativeApi.ts:52

  Retrieve a named custom logger that has been configured

  #### Parameters

  - ##### name: string

    the name of the custom logger

  #### Returns Logger

  the configured logger, if it exists

Generated using TypeDoc