From 0a2e0da5ed27e22fb4ebe424608cfc0c4651ee25 Mon Sep 17 00:00:00 2001 From: ZLundqvist Date: Fri, 7 Jan 2022 14:24:20 +0100 Subject: [PATCH] fix(types): add level parameter declaration to Logger.log function --- types/log4js.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/log4js.d.ts b/types/log4js.d.ts index 2fdc99c..f089c6b 100644 --- a/types/log4js.d.ts +++ b/types/log4js.d.ts @@ -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;