8000 Merge pull request #1006 from rtvd/ts-access-for-category · xaviernoder/log4js-node@a6eca3e · GitHub 8000
[go: up one dir, main page]

Skip to content

Commit a6eca3e

Browse files
authored
Merge pull request log4js-node#1006 from rtvd/ts-access-for-category
Access to 'category' field of logger objects in TS
2 parents fe0713a + d65cc3b commit a6eca3e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

types/log4js.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ export interface Configuration {
286286
export class Logger {
287287
new(dispatch: Function, name: string): Logger;
288288

289+
readonly category: string;
289290
level: string;
290291

291292
log(...args: any[]): void;

0 commit comments

Comments
 (0)
0