Skip to main content

init

Function init 

Source
pub fn init(default_level: Level)
Expand description

Install the global tracing subscriber. Writes to stderr, with ANSI colors only when stderr is a terminal, filtered by RUST_LOG (or default_level when it is unset or blank). Safe to call more than once; later calls are silently ignored.