init

Function init 

Source
pub fn init(level: LevelFilter) -> Result<(), SetLoggerError>
Examples found in repository?
examples/main.rs (line 5)
4fn main() {
5    init(LevelFilter::max()).unwrap();
6
7    trace!(target: "lala", "{:?}", "hello");
8    debug!("{:?}", "hello");
9    info!("{:?}", "hello");
10    warn!("{:?}", "hello");
11    error!("{:?}", "hello");
12}