Skip to content

Commit

Permalink
Fix slackapi#1040 Remove invalid warning logs for logger initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
seratch committed Aug 24, 2021
1 parent 0ad0e89 commit d3fb018
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/App.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit d3fb018

Please sign in to comment.