Skip to content

Commit 785e633

Browse files
authored
remove use hook (#39)
- removes a hook that produces an outdated/incorrect debug message on every app start - resolves #38
1 parent 83702db commit 785e633

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/logger.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ function logger (state, emitter, opts) {
2929
}
3030
})
3131

32-
hooks.on('use', function (count, duration) {
33-
logger('debug')('use', { count: count }, duration + 'ms')
34-
})
35-
3632
hooks.on('unhandled', function (eventName, data) {
3733
logger('error')('No listeners for ' + eventName)
3834
})

0 commit comments

Comments
 (0)