Skip to content

Commit

Permalink
chore: adjust
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Feb 1, 2020
1 parent 86b845b commit a1fdaca
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/koishi-core/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,7 @@ export class App extends Context {
this.middleware(this._preprocess)

this.receiver.on('logger', (scope, message) => {
if (this.receiver.listenerCount('logger') === 1) {
debug('koishi:' + scope)(message)
}
debug('koishi:' + scope)(message)
})
}

Expand Down

0 comments on commit a1fdaca

Please sign in to comment.