Skip to content

Commit

Permalink
Merge pull request #1260 from marrowleaves/fix/log-event-types
Browse files Browse the repository at this point in the history
fix(types): add LogEvent.serialise
  • Loading branch information
lamweili committed May 25, 2022
2 parents d7d056f + 1849868 commit 5b7d458
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions types/log4js.d.ts
Expand Up @@ -71,6 +71,7 @@ export interface LoggingEvent {
lineNumber?: number;
columnNumber?: number;
callStack?: string;
serialise(): string;
}

export type Token = ((logEvent: LoggingEvent) => string) | string;
Expand Down

0 comments on commit 5b7d458

Please sign in to comment.