-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(levels)!: Support custom log levels in LogDNA
As Winston allows for the use of custom log levels, now so does LogDNA. Custom levels can be defined for both Winston and LogDNA such that those custom levels will show up on LogDNA's log viewer. BREAKING CHANGE: This removes the log level "translation" that used to be in place to convert Winston levels to ones that would be acceptable by LogDNA. Since LogDNA can now define custom levels as well, this translation is no longer needed, however it may break implementations that are relying on the translated levels. Fixes: #31
- Loading branch information
1 parent
1313046
commit 02c6b3e
Showing
4 changed files
with
70 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters