Methods
addDefaultTransport
- addDefaultTransport(level?: LogLevel): void
debug
- debug(data: any, ...rest: any[]): void
-
Parameters
-
data: any
-
Rest ...rest: any[]
Returns void
error
- error(data: any, ...rest: any[]): void
-
Parameters
-
data: any
-
Rest ...rest: any[]
Returns void
info
- info(data: any, ...rest: any[]): void
-
Parameters
-
data: any
-
Rest ...rest: any[]
Returns void
removeDefaultTransport
- removeDefaultTransport(): void
removeTransport
- removeTransport(key: string): void
setShard
- setShard(shard: number): void
warn
- warn(data: any, ...rest: any[]): void
-
Parameters
-
data: any
-
Rest ...rest: any[]
Returns void
Represents a tagged logger, ie. the logging methods will not expect a tag parameter because it has already been provided within the proxy. All other methods remain the same