Skip to content

v2.0.0-beta.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@Download Download released this 27 Dec 13:08
· 34 commits to master since this release

API improvements

  • Loggers are functions now. Supports debug-style API
  • Logger function defaults to level DEBUG
  • Logger function accepts a level name as first parameter
  • Added aliases 'verbose' and 'silly' for levels 'log' and 'trace', respectively
  • Ulog now supports hooks for logger extension and formatters
  • Ulog should now be a drop-in replacement for debug

Backwards compatible

v2 Should be a backward-compatible release. But possibly some (very) old browsers are no longer supported because of the use of Function.prototype.name. Tested on Internet Explorer 11, Edge 41, Opera 49, Chrome 63.
Please test before upgrading and report any issues in the issue tracker. Not tested in Safari because I do not have access to a Mac. Help in testing welcome!