Constructors
constructor
- new Logger(module: string, additionalMeta?: LoggerMetadata, logger?: GlobalLogger): Logger
-
Parameters
-
module: string
-
additionalMeta: LoggerMetadata = {}
-
Accessors
Static
botSdkLogger
- get botSdkLogger(): ILogger
-
Returns ILogger
Methods
debug
- debug(msg: any, ...additionalData: any[]): void
-
Parameters
-
msg: any
-
Rest
...additionalData: any[]
Returns void
error
- error(msg: any, ...additionalData: any[]): void
-
Parameters
-
msg: any
-
Rest
...additionalData: any[]
Returns void
info
- info(msg: any, ...additionalData: any[]): void
-
Parameters
-
msg: any
-
Rest
...additionalData: any[]
Returns void
warn
- warn(msg: any, ...additionalData: any[]): void
-
Parameters
-
msg: any
-
Rest
...additionalData: any[]
Returns void
Static
formatLogEntryPartArray
- formatLogEntryPartArray(...data: any[]): string
-
Returns string
Static
messageFormatter
- messageFormatter(info: LogEntry): string
-
Returns string
Logs to the DEBUG channel