mirror of
https://github.com/log4js-node/log4js-node.git
synced 2026-02-01 15:59:19 +00:00
type: corrected AppenderModule interface
This commit is contained in:
parent
0c37f4063e
commit
11d4c2243a
7
types/log4js.d.ts
vendored
7
types/log4js.d.ts
vendored
@ -335,7 +335,12 @@ export interface Appenders {
|
||||
}
|
||||
|
||||
export interface AppenderModule {
|
||||
configure: (config: Config, layouts: LayoutsParam) => AppenderFunction;
|
||||
configure: (
|
||||
config?: Config,
|
||||
layouts?: LayoutsParam,
|
||||
findAppender?: () => AppenderFunction,
|
||||
levels?: Levels
|
||||
) => AppenderFunction;
|
||||
}
|
||||
|
||||
export type AppenderFunction = (loggingEvent: LoggingEvent) => void;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user