Constructors
constructor
- new Logger(prefix?): utils.Logger
Properties
Private
_error
_error: any
Private
_info
_info: any
Private
_warn
_warn: any
Accessors
error
- get error(): Debugger
Returns Debugger
info
- get info(): Debugger
Returns Debugger
warn
- get warn(): Debugger
Returns Debugger
Methods
log
- log(level, ...args): void
Parameters
level: "info" | "warn" | "error"
Rest
...args: unknown[]
Returns void
Static
createDebugNamespace
- createDebugNamespace(level, prefix?): string
Parameters
level: string
Optional
prefix: string
Returns string