diff --git a/example/src/main.rs b/example/src/main.rs index 2a9e1a2..27ec59e 100644 --- a/example/src/main.rs +++ b/example/src/main.rs @@ -1,12 +1,7 @@ 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); - } - print("Commencing print\n".into()).expect("fast log not init"); + log::info!("Commencing yak shaving{}", 0); log::error!("Commencing yak shaving{}", 0); - log::logger().flush(); }