Skip to main content

init

Function init 

Source
pub fn init(
    format: LogFormat,
    target: LogTarget,
    default_filter: &str,
    redactor: Arc<Redactor>,
)
Expand description

Install the global subscriber. default_filter applies when RUST_LOG is unset or invalid. Calling it twice is harmless (the second call is ignored).