Skip to content

Commit

Permalink
fix(types): add level parameter declaration to Logger.log function
Browse files Browse the repository at this point in the history
  • Loading branch information
ZLundqvist committed Jan 7, 2022
1 parent 968fc1c commit 0a2e0da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/log4js.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ export class Logger {
readonly category: string;
level: string;

log(...args: any[]): void;
log(level: Level | string , ...args: any[]): void;

isLevelEnabled(level?: string): boolean;

Expand Down

0 comments on commit 0a2e0da

Please sign in to comment.