Disable Sampling when using the Options Struct #1507
Unanswered
razorStack13
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I want to disable sampling for my application and this is my code.
I understand that adding
Level: zapcore.Level(-2)
would fix it, but that is a hackfix. I am aware we can set this up usingconfig
, but I would like to try it with this instead to play around. Is there any other way I can do this?Beta Was this translation helpful? Give feedback.
All reactions