-
Notifications
You must be signed in to change notification settings - Fork 885
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
Allow custom levels comparison #1880
Comments
Thanks for reporting! Would you like to send a Pull Request to address this issue? Remember to add unit tests. |
|
I think this can be closed with both and |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I need levels to be compatible with
syslog
.So override values for example, like this, doesn't work:
The main problem here, that in
syslog
lower number shows more critical level, but inpino
it works in opposite order.So using
syslog
levels determinefatal
as lower thandebug
and set uplevel
todebug
, will show onlydebug
andtrace
logs.It would be nice to have ability setup order to compare level values or at least custom comparison function to be able filter logs correct
The text was updated successfully, but these errors were encountered: