interface TkmLogger { logLevel: LogLevel; childLogger(name: string): TkmLogger; debug(...message: any[]): void; debugObject(message: string, obj: any): void; debugObject(message: string, obj: any, filterFn: (obj: any) => any): void; debugText(message: string, text: string | () => string): void; error(...message: any[]): void; info(...message: any[]): void; infoObject(message: string, obj: any): void; infoObject(message: string, obj: any, filterFn: (obj: any) => any): void; infoText(message: string, text: string | () => string): void; trace(...message: any[]): void; traceObject(message: string, obj: any): void; traceObject(message: string, obj: any, filterFn: (obj: any) => any): void; traceText(message: string, text: string | () => string): void; warn(...message: any[]): void; warnObject(message: string, obj: any): void; warnObject(message: string, obj: any, filterFn: (obj: any) => any): void; warnText(message: string, text: string | () => string): void;} Properties
Methods
childLogger
- childLogger(name: string): TkmLogger
Child logger
debug
- debug(...message: any[]): void
Returns void
debugObject
- debugObject(message: string, obj: any): void
Returns void
- debugObject(message: string, obj: any, filterFn: (obj: any) => any): void
Parameters
- message: string
- obj: any
- filterFn: (obj: any) => any
Returns void
debugText
- debugText(message: string, text: string | () => string): void
Parameters
- message: string
- text: string | () => string
Returns void
error
- error(...message: any[]): void
Returns void
info
- info(...message: any[]): void
Returns void
infoObject
- infoObject(message: string, obj: any): void
Returns void
- infoObject(message: string, obj: any, filterFn: (obj: any) => any): void
Parameters
- message: string
- obj: any
- filterFn: (obj: any) => any
Returns void
infoText
- infoText(message: string, text: string | () => string): void
Parameters
- message: string
- text: string | () => string
Returns void
trace
- trace(...message: any[]): void
Returns void
traceObject
- traceObject(message: string, obj: any): void
Returns void
- traceObject(message: string, obj: any, filterFn: (obj: any) => any): void
Parameters
- message: string
- obj: any
- filterFn: (obj: any) => any
Returns void
traceText
- traceText(message: string, text: string | () => string): void
Parameters
- message: string
- text: string | () => string
Returns void
warn
- warn(...message: any[]): void
Returns void
warnObject
- warnObject(message: string, obj: any): void
Returns void
- warnObject(message: string, obj: any, filterFn: (obj: any) => any): void
Parameters
- message: string
- obj: any
- filterFn: (obj: any) => any
Returns void
warnText
- warnText(message: string, text: string | () => string): void
Parameters
- message: string
- text: string | () => string
Returns void
Logger.