- Preparing search index...
- The search index is not available
movo
Properties
levels
Methods
addLayout
- addLayout(name: string, config: ((a: any) => ((logEvent: LoggingEvent) => string))): void
-
Parameters
-
name: string
-
config: ((a: any) => ((logEvent: LoggingEvent) => string))
Returns void
configure
- configure(filename: string): Log4js
-
- configure(config: Configuration): Log4js
-
connectLogger
- connectLogger(logger: log4js.Logger, options: {
format?: Format;
level?: string;
nolog?: any;
}): any
-
Parameters
-
-
options: {
format?: Format;
level?: string;
nolog?: any;
}
-
Optional
format?: Format
-
Optional
level?: string
-
Optional
nolog?: any
Returns any
getLogger
- getLogger(category?: string): log4js.Logger
-
Parameters
-
Optional
category: string
isConfigured
- isConfigured(): boolean
-
Returns boolean
shutdown
- shutdown(cb?: ((error?: Error) => void)): void
-
Parameters
-
Optional
cb: ((error?: Error) => void)
-
- (error?: Error): void
-
Returns void
Returns void