1 2 3 4 5 6 7
use simple_logger::SimpleLogger; fn main() { SimpleLogger::new().init().unwrap(); log::warn!("This is an example message."); }