Closed enderger closed 3 years ago
Yes. Compiling the example from the web site gives:
error[E0599]: no method named `unwrap` found for struct `std::boxed::Box<simplelog::TermLogger>` in the current scope
--> src/main.rs:11:88
|
11 | TermLogger::new(LevelFilter::Warn, Config::default(), TerminalMode::Mixed).unwrap(),
| ^^^^^^ method not found in `std::boxed::Box<simplelog::TermLogger>`
error: aborting due to previous error
Fixed by #60
In the current version of simplelog, it seems that you need to unwrap the option containing a TermLogger when initializing the CombinedLogger