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

Introduce a mapping from bunyan levels to syslog levels. #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aahoughton
Copy link

The actual code is generic, though it's impossible to trigger it for new levels (any predefined levels will work) without some changes to bunyan. The test code necessarily depends on a version of bunyan that allows new levels to be created, see trentm/node-bunyan#300.

I'm not expecting this to be merged at the moment -- without the upstream bunyan PR, it doesn't make a lot of sense -- but I needed this functionality now, so I'm putting it out there for a review. If bunyanmerges my PR, what would need to change here to get this merged?

Thanks.

code is generic, though it's impossible to trigger it for new levels
(any predefined levels will work) without some changes to bunyan.
The test code necessarily depends on a version of bunyan that allows
new levels to be created, see
  trentm/node-bunyan#300
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant