Skip to content

Commit

Permalink
remove use hook (#39)
Browse files Browse the repository at this point in the history
- removes a hook that produces an outdated/incorrect debug message on every app start
- resolves #38
  • Loading branch information
ungoldman authored Mar 20, 2020
1 parent 83702db commit 785e633
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ function logger (state, emitter, opts) {
}
})

hooks.on('use', function (count, duration) {
logger('debug')('use', { count: count }, duration + 'ms')
})

hooks.on('unhandled', function (eventName, data) {
logger('error')('No listeners for ' + eventName)
})
Expand Down

0 comments on commit 785e633

Please sign in to comment.