Skip to main content

init

Function init 

Source
pub fn init(enabled: bool)
Expand description

Initialize the global logger.

enabled is the configured baseline: true emits records at debug and above from our crates, false silences everything. RUST_LOG, if set, takes precedence and is parsed as an env_logger-style spec using the configured baseline as the default level.