Skip to content

Releases: pablosichert/concurrency-logger

v2.0.0

30 Oct 14:48
Compare
Choose a tag to compare

Full Changelog

Breaking changes:

  • options.reporter expects a writable stream instead of a callback function
  • Errors from next are not caught, but passed on

New features:

  • options.width can be passed in as function (or like previously as primitive value number / boolean)
  • options.getLevel now has the signature of (responseTime, context) => {} instead of responseTime => {}