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 helper to restric the log levels based on env variable #25

Open
javorszky opened this issue Feb 22, 2023 · 0 comments · May be fixed by #26
Open

Add helper to restric the log levels based on env variable #25

javorszky opened this issue Feb 22, 2023 · 0 comments · May be fixed by #26

Comments

@javorszky
Copy link
Contributor

There should be a way to restrict the logs emitted from zerolog based on environment variables.

There are several approaches to this:

  1. set the global loglevel for everything
  2. restrict the individual logger to be a certain level
  3. use configs
  4. leave all the things in the services to deal with it
@javorszky javorszky linked a pull request Feb 22, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant