Skip to content

Commit

Permalink
Merge pull request #1115 from ZLundqvist/improve-typedefs
Browse files Browse the repository at this point in the history
fix(types): add level parameter declaration to Logger.log function
  • Loading branch information
lamweili committed Jan 11, 2022
2 parents 60e1e92 + e7f6784 commit 29e6949
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/log4js.d.ts
Expand Up @@ -291,7 +291,7 @@ export class Logger {
readonly category: string;
level: Level | string;

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

isLevelEnabled(level?: string): boolean;

Expand Down

0 comments on commit 29e6949

Please sign in to comment.