diff --git a/example/src/main.rs b/example/src/main.rs index 9014452..2a9e1a2 100644 --- a/example/src/main.rs +++ b/example/src/main.rs @@ -1,11 +1,12 @@ use fast_log::config::Config; +use fast_log::print; fn main() { fast_log::init(Config::new().console().chan_len(Some(100000))).unwrap(); for _ in 0..100 { log::info!("Commencing yak shaving{}", 0); } - fast_log::print("Commencing print\n".into()).expect("fast log not init"); + print("Commencing print\n".into()).expect("fast log not init"); log::error!("Commencing yak shaving{}", 0); log::logger().flush(); }