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.
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.