env_logger

Function from_env

Source
pub fn from_env<'a, E>(env: E) -> Builder
where E: Into<Env<'a>>,
👎Deprecated since 0.8.0: Prefer env_logger::Builder::from_env() instead.
Expand description

Create a builder from the given environment variables.

The builder can be configured before being initialized.