mirror of
https://github.com/log4js-node/log4js-node.git
synced 2025-12-08 19:26:01 +00:00
Merge pull request #1231 from log4js-node/1096-log-event-call-stack-information-not-in-typescript-types
chore(types): LogEvent types
This commit is contained in:
commit
cfb0c48183
5
types/log4js.d.ts
vendored
5
types/log4js.d.ts
vendored
@ -66,6 +66,11 @@ export interface LoggingEvent {
|
||||
workerId: number;
|
||||
worker: number;
|
||||
};
|
||||
functionName?: string;
|
||||
fileName?: string;
|
||||
lineNumber?: number;
|
||||
columnNumber?: number;
|
||||
callStack?: string;
|
||||
}
|
||||
|
||||
export type Token = ((logEvent: LoggingEvent) => string) | string;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user