Skip to content

Builder get current log level #331

Description

@xeruf

I would like to set the log level of a specific module depending on the global loglevel, specifically -1 - i.e. if the global loglevel (as set by the environment variable RUST_LOG) is Debug, the level should be Info.
If no level is set via environment variable, it should default to only Errors.

I think this could be added to the builder to request already set directives, so that I don't have to go about parsing the environment variables again.

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