Skip to content

v0.1.2

Compare
Choose a tag to compare
@maraisr maraisr released this 27 May 00:38
· 85 commits to main since this release
bb41c63

Breaking

  • Removed the setLevel method鈥攁ll events will now log irrespective of their level.
    • this is a simple fix if you still need this, use the new onEmit callback to squash these.
  • Removed before/after. As it turns out, with the new onEmit api on diary. One can create the same effect鈥攚ith much less overhead.

Features

  • Added new enable method to control the allow list programmatically.
  • Added new onEmit argument to the diary constructor. Allows you to output the log entries to other places, than console.log.
  • Following on from that; added a new diary/json sub-module that allows formatting the messages as json!

Chores

  • Upgraded packages
  • Builds using esbuild
  • Updated benchmarks