Closed maraisr closed 3 years ago
Breaking
setLevel
before
false
after
onEmit
Features
enable
diary
console.log
diary/json
Chores
resolves #4 #7
Breaking
setLevel
method—all events will now log irrespective of their level.before
middleware to ignore by returningfalse
.before
/after
. As it turns out, with the newonEmit
api on diary. One can create the same effect—with much less overhead.Features
enable
method to control the allow list programmatically.onEmit
argument to thediary
constructor. Allows you to output the log entries to other places, thanconsole.log
.diary/json
sub-module that allows formatting the messages as json!Chores
resolves #4 #7