v0.1.2
Breaking
- Removed the
setLevelmethod—all events will now log irrespective of their level.- this is a simple fix if you still need this, use the new
onEmitcallback to squash these.
- this is a simple fix if you still need this, use the new
- Removed
before/after. As it turns out, with the newonEmitapi on diary. One can create the same effect—with much less overhead.
Features
- Added new
enablemethod to control the allow list programmatically. - Added new
onEmitargument to thediaryconstructor. Allows you to output the log entries to other places, thanconsole.log. - Following on from that; added a new
diary/jsonsub-module that allows formatting the messages as json!
Chores
- Upgraded packages
- Builds using esbuild
- Updated benchmarks