Skip to content

How to disable a single sink? #2843

Closed Answered by gabime
CJCombrink asked this question in Q&A
Aug 3, 2023 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

Perhaps just remove those sinks instead of setting the level. This way you don't need to restore the levels (and performance is better since the new logger wont store those sinks at all).

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@gabime
Comment options

Answer selected by CJCombrink
@gabime
Comment options

@CJCombrink
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants