Skip to content

A namespace per level

Choose a tag to compare

@dmarcelino dmarcelino released this 11 Mar 14:54
· 13 commits to master since this release
  • Setting the color on debug instance itself to match a given level color;
  • All levels have their own debug instance by default with level name added to the namespace;
  • Removes INFO, WARN, ERROR, etc prefixes from log message (namespace already includes these);
  • Added example on how to configure debug-logger the same way as in v0.3.1;
  • .config() method now supports customizing levels.