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

Individual levels for multi handler #59

Open
claytoncasey01 opened this issue Apr 12, 2018 · 1 comment
Open

Individual levels for multi handler #59

claytoncasey01 opened this issue Apr 12, 2018 · 1 comment

Comments

@claytoncasey01
Copy link

It would be nice when using the multi handler if we could set the individual logging level for each handler. For example in my application I only want info to be logged to the cli and Warn, Error, and Fatal to be written out as json to a file.

Based on an initial look this might require a lot of changes since Level is currently part of the Logger struct.

@tj
Copy link
Member

tj commented Apr 12, 2018

Agreed, I'd like if Logger/Entry had more parity, might have to be a v2 thing

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

No branches or pull requests

2 participants