From 7593e7c9bd5e88c4fb109cf2dcaac4630d68ae74 Mon Sep 17 00:00:00 2001 From: David Huculak Date: Sun, 6 Aug 2023 00:14:07 -0400 Subject: [PATCH] fix incorrect env_logger setup after crates split --- clikari/src/main.rs | 1 + example_game/src/main.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/clikari/src/main.rs b/clikari/src/main.rs index c07c69e7..3b6a5b41 100644 --- a/clikari/src/main.rs +++ b/clikari/src/main.rs @@ -114,6 +114,7 @@ fn main() { env_logger::builder() .filter(Some(env!("CARGO_PKG_NAME")), log::LevelFilter::Info) .filter(Some(env!("CARGO_BIN_NAME")), log::LevelFilter::Info) + .filter(Some("ikari"), log::LevelFilter::Info) .filter(Some("wgpu"), log::LevelFilter::Warn) .init(); } diff --git a/example_game/src/main.rs b/example_game/src/main.rs index 340b4d4c..17b08450 100644 --- a/example_game/src/main.rs +++ b/example_game/src/main.rs @@ -126,6 +126,7 @@ fn main() { env_logger::builder() .filter(Some(env!("CARGO_PKG_NAME")), log::LevelFilter::Info) .filter(Some(env!("CARGO_BIN_NAME")), log::LevelFilter::Info) + .filter(Some("ikari"), log::LevelFilter::Info) .filter(Some("wgpu"), log::LevelFilter::Warn) .init(); }