Function probe_rs_cli_util::logging::init
source · Expand description
Initialize the logger.
There are two sources for log level configuration:
- The log level value passed to this function
- The user can set the
RUST_LOGenv var, which overrides the log level passed to this function.
The config file only accepts a log level, while the RUST_LOG variable
supports the full env_logger syntax, including filtering by crate and
module.