aisbreaker-api-js - v0.1.15 / utils/logger
Module: utils/logger
Table of contents
Variables
Functions
Variables
LogLevels
• Const
LogLevels: LogLevelsType
Defined in
aisbreaker-js/packages/aisbreaker-api-js/src/utils/logger.ts:11
logger
• Const
logger: Object
Type declaration
Name | Type |
---|---|
debug | (message? : any , ...optionalParams : any []) => void |
error | (message? : any , ...optionalParams : any []) => void |
info | (message? : any , ...optionalParams : any []) => void |
log | (level : number , message? : any , ...optionalParams : any []) => void |
silly | (message? : any , ...optionalParams : any []) => void |
verbose | (message? : any , ...optionalParams : any []) => void |
warn | (message? : any , ...optionalParams : any []) => void |
Defined in
aisbreaker-js/packages/aisbreaker-api-js/src/utils/logger.ts:60
Functions
log
▸ log(level
, message?
, ...optionalParams
): void
Parameters
Name | Type |
---|---|
level | number |
message? | any |
...optionalParams | any [] |
Returns
void
Defined in
aisbreaker-js/packages/aisbreaker-api-js/src/utils/logger.ts:37