mirror of
https://github.com/log4js-node/log4js-node.git
synced 2025-12-08 19:26:01 +00:00
fix(#687): shutdown callback arg is not optional
This commit is contained in:
parent
4d81c5a5d0
commit
8e4bfb5310
2
types/log4js.d.ts
vendored
2
types/log4js.d.ts
vendored
@ -9,7 +9,7 @@ export interface Log4js {
|
||||
addLayout(name: string, config: (a: any) => (logEvent: LoggingEvent) => string): void;
|
||||
connectLogger(logger: Logger, options: { format?: Format; level?: string; nolog?: any; }): any; // express.Handler;
|
||||
levels: Levels;
|
||||
shutdown(cb?: (error: Error) => void): void | null;
|
||||
shutdown(cb: (error: Error) => void): void | null;
|
||||
}
|
||||
|
||||
export function getLogger(category?: string): Logger;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user