Function init
Source pub fn init(level: LevelFilter) -> Result<(), SetLoggerError>
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}