Skip to content

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

@javorszky

Description

@javorszky

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions