diff --git a/src/logging/BaseLogger.ts b/src/logging/BaseLogger.ts index ddf1b308..c9ce6aaf 100644 --- a/src/logging/BaseLogger.ts +++ b/src/logging/BaseLogger.ts @@ -55,7 +55,7 @@ export abstract class BaseLogger { logLevel = LogLevel.Info; } const item = new LogItem(labelOrValues, logLevel, this); - this._run(item, callback, logLevel!, false /* don't throw, nobody is awaiting */, filterCreator); + this._run(item, callback, logLevel, false /* don't throw, nobody is awaiting */, filterCreator); return item; }