-
Notifications
You must be signed in to change notification settings - Fork 889
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
Accept log level env var as UPPER or LOWER case #2022
Comments
The above snippet can help u transform log levels to uppercase. |
Would you like to send a Pull Request to address this issue? Remember to add unit tests. |
@jsumners i can take it up. |
@balaji-atoa any idea why this doesn't actually work? this is my config I'm passing to pino
|
If you are using |
Currently it won't accept UPPER case log levels.
But why "DEBUG" is invalid?
"DEBUG" should be as valid as "debug".
When setting level, please convert the input to lower case :)
The text was updated successfully, but these errors were encountered: