diff --git a/examples/src/hello/mod.rs b/examples/src/hello/mod.rs index 12239e43f..6b1f4a31b 100644 --- a/examples/src/hello/mod.rs +++ b/examples/src/hello/mod.rs @@ -22,7 +22,10 @@ async fn run() { pub fn main() { #[cfg(not(target_arch = "wasm32"))] { - env_logger::init(); + env_logger::builder() + .filter(Some(module_path!()), log::LevelFilter::Info) + .parse_default_env() + .init(); pollster::block_on(run()); } #[cfg(target_arch = "wasm32")]