Properties
Private initial
initial: boolean = false
Private loggers
loggers: {} = {}
Static DEFAULT_OPTIONS
DEFAULT_OPTIONS: {} = {}
Static enable
enable: boolean = true
Static inc
inc: number = 0
Static prefix
prefix: string = ''
Methods
createLogger
-
Parameters
-
name: string
-
params: any = {}
-
createOrUpdateLogger
-
Parameters
-
name: string = ...
-
-
append: boolean = true
removeLogger
- removeLogger(name: string): void
Static debug
- debug(...args: any[]): void
Static error
- error(...args: any[]): void
Static getLoggerFor
- getLoggerFor(fn: Function, opts?: any): ILoggerApi
-
Parameters
-
fn: Function
-
opts: any = {}
Static info
- info(...args: any[]): void
Static log
- log(level: string, ...args: any[]): void
-
Parameters
-
level: string
-
Rest ...args: any[]
Returns void
Static trace
- trace(...args: any[]): void
Static warn
- warn(...args: any[]): void
check if configuration was loaded