use satlog::SatLogger; use log::LevelFilter; fn main() { SatLogger::init(LevelFilter::Info).expect("Could not create logger"); log::debug!("NOT SHOWN"); log::trace!("NOT SHOWN"); log::info!("SHOWN WITHOUT LEVEL"); log::warn!("SHOWN"); log::error!("SHOWN"); log::info!("Multiline:\nFirst\nSecond\nThird"); log::error!("Multiline:\nFirst\nSecond\nThird"); }