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

Add support for logger-local error handlers #528

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

Commits on Feb 27, 2023

  1. Add support for logger-local error handlers

    There are some use cases for writing to zerolog from within the
    ErrorHandler, but today this is extremely tricky to do safely as it can
    easily lead to ErrorHandlers triggering ErrorHandlers (causing a log
    bomb). Logger-local error handlers allow us to configure eg. a primary
    logger with an ErrorHandler that calls a secondary logger with no
    ErrorHandler.
    elindsey committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    1d6f0fe View commit details
    Browse the repository at this point in the history