Constructors

  • Parameters

    • module: string
    • additionalMeta: LoggerMetadata = {}
    • logger: GlobalLogger = Logger.root

    Returns Logger

Properties

root: GlobalLogger = ...

Accessors

  • get botSdkLogger(): ILogger
  • Returns ILogger

Methods

  • Logs to the DEBUG channel

    Parameters

    • msg: any

      The message or data to log.

    • Rest ...additionalData: any[]

      Additional context.

    Returns void

  • Logs to the ERROR channel

    Parameters

    • msg: any

      The message or data to log.

    • Rest ...additionalData: any[]

      Additional context.

    Returns void

  • Logs to the INFO channel

    Parameters

    • msg: any

      The message or data to log.

    • Rest ...additionalData: any[]

      Additional context.

    Returns void

  • Logs to the WARN channel

    Parameters

    • msg: any

      The message or data to log.

    • Rest ...additionalData: any[]

      Additional context.

    Returns void

  • Configure the root logger instance.

    Parameters

    Returns void

  • Parameters

    • Rest ...data: any[]

    Returns string

  • Parameters

    • info: LogEntry

    Returns string

Generated using TypeDoc