logger_from_env

Function logger_from_env 

Source
pub fn logger_from_env() -> Logger
Expand description

Create a logger configured from environment variables

This function creates a logger with log level determined by environment variables. It checks RUST_LOG and LOG_LEVEL environment variables in that order.