You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using zerolog to log both regular events, and access log events using two separately configured loggers. I would like to be able to filter these events in the resulted logs easily and thinking about something like a custom log level, e.g. ACCESS. I'm wondering if introducing an option to define custom log levels, like e.g. possible with slog is something you would consider as a valuable extension. Having a new log level named ACCESS or similar for the abovesaid purpose would be fully sufficient as well.
The text was updated successfully, but these errors were encountered:
dadrus
changed the title
Support for custom log level
Support for custom log levels
Sep 9, 2024
I'm using zerolog to log both regular events, and access log events using two separately configured loggers. I would like to be able to filter these events in the resulted logs easily and thinking about something like a custom log level, e.g. ACCESS. I'm wondering if introducing an option to define custom log levels, like e.g. possible with slog is something you would consider as a valuable extension. Having a new log level named ACCESS or similar for the abovesaid purpose would be fully sufficient as well.
The text was updated successfully, but these errors were encountered: