Merge pull request #1260 from marrowleaves/fix/log-event-types

fix(types): add LogEvent.serialise
This commit is contained in:
Lam Wei Li 2022-05-25 20:09:18 +08:00 committed by GitHub
commit 5b7d458991
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

1
types/log4js.d.ts vendored
View File

@ -71,6 +71,7 @@ export interface LoggingEvent {
lineNumber?: number;
columnNumber?: number;
callStack?: string;
serialise(): string;
}
export type Token = ((logEvent: LoggingEvent) => string) | string;