Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BREAKING CHANGE: feat(levels)!: Support custom log levels in LogDNA #32

Merged
merged 5 commits into from
Sep 17, 2021

Conversation

darinspivey
Copy link
Contributor

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


chore(deps): eslint-config-logdna@5.1.0


chore(deps): semantic-release-config-logdna@1.3.0


chore(deps): semantic-release@17.4.7


chore(deps): eslint@7.32.0

@darinspivey darinspivey requested a review from a team September 16, 2021 20:49
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
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
@darinspivey darinspivey merged commit 02c6b3e into main Sep 17, 2021
@darinspivey darinspivey deleted the darinspivey/issue31 branch September 17, 2021 14:12
@logdnabot
Copy link
Member

🎉 This PR is included in version 4.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Map Winston levels to LogDNA levels
4 participants