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

Disable logging #139

Closed
zerjioang opened this issue May 22, 2019 · 1 comment
Closed

Disable logging #139

zerjioang opened this issue May 22, 2019 · 1 comment

Comments

@zerjioang
Copy link

Is there a way that I can use your logger and disable logging featured on specific methods?
I have this needs, because I dont want the information to be logged while running benchmark, and my only option right now is to comment the lines in where the logger is used, which is kind of bullshit job,

Any advise on how to disable logging?

@Zamiell
Copy link

Zamiell commented Mar 30, 2020

just write your own wrapper, e.g.
https://github.com/Zamiell/hanabi-live/blob/master/src/logger.go

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants