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

zaptest: add ability to filter observer logs by logger name #1452

Merged
merged 2 commits into from
Jul 22, 2024

Commits on Jul 20, 2024

  1. zaptest: add ability to filter observer logs by logger name

    This is useful for assertions on logs in a particular named path, currently
    this is only possible through calls to Filter but it is more verbose.
    
    Added a FilterLoggerName function that plays nicely with the other filters:
    
    	zapLogs.FilterLoggerName("my.logger").FilterMessage("hello")
    
    Signed-off-by: Mauri de Souza Meneguzzo <[email protected]>
    mauri870 committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    fd64def View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2024

  1. Configuration menu
    Copy the full SHA
    f8e0ac0 View commit details
    Browse the repository at this point in the history