# Class: LoggerInterface

## Constructor

#### new LoggerInterface()

  Interface for a logger class that can be registered within the SDK to receive log messages via AvayaClientServices#registerLogger.

  ##### See:

    - {AvayaClientServices#registerLogger}

## Members

#### disableTimestamps :bool

  Flag indicating whether SDK's logger should include timestamps into log messages. By default it does.

  ##### Type:

  - bool

## Methods

#### debug(message, data)

  Logs message with DEBUG level.

  ##### Parameters:

  Name | Type | Argument | Description
  --- | --- | --- | ---
  `message` | string |  | Message to be logged.
  `data` | string | <optional> | Data associated with the log message.

#### error(message, data)

  Logs message with ERROR level.

  ##### Parameters:

  Name | Type | Argument | Description
  --- | --- | --- | ---
  `message` | string |  | Message to be logged.
  `data` | string | <optional> | Data associated with the log message.

#### fatal(message, data)

  Logs message with FATAL level.

  ##### Parameters:

  Name | Type | Argument | Description
  --- | --- | --- | ---
  `message` | string |  | Message to be logged.
  `data` | string | <optional> | Data associated with the log message.

#### info(message, data)

  Logs message with INFO level.

  ##### Parameters:

  Name | Type | Argument | Description
  --- | --- | --- | ---
  `message` | string |  | Message to be logged.
  `data` | string | <optional> | Data associated with the log message.

#### trace(message, data)

  Logs message with TRACE level.

  ##### Parameters:

  Name | Type | Argument | Description
  --- | --- | --- | ---
  `message` | string |  | Message to be logged.
  `data` | string | <optional> | Data associated with the log message.

#### warn(message, data)

  Logs message with WARN level.

  ##### Parameters:

  Name | Type | Argument | Description
  --- | --- | --- | ---
  `message` | string |  | Message to be logged.
  `data` | string | <optional> | Data associated with the log message.