From d3fb0183da39403dd0354c66e291600c9e4eef8d Mon Sep 17 00:00:00 2001 From: Kazuhiro Sera Date: Tue, 24 Aug 2021 14:46:40 +0900 Subject: [PATCH] Fix #1040 Remove invalid warning logs for logger initialization --- src/App.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/App.ts b/src/App.ts index cb60409fc..34949070e 100644 --- a/src/App.ts +++ b/src/App.ts @@ -251,12 +251,6 @@ export default class App { // only logLevel is passed this.clientOptions.logLevel = logLevel; } else { - if (logLevel !== undefined) { - // If the constructor has both, logLevel is ignored - this.logger.warn( - "As `logger` is passed as well, `logLevel` argument won't be used. Set the log level to the `logger` instance instead.", - ); - } // Since v3.4, WebClient starts sharing loggger with App this.clientOptions.logger = this.logger; }