diff options
author | tcmal <me@aria.rip> | 2024-08-25 17:44:21 +0100 |
---|---|---|
committer | tcmal <me@aria.rip> | 2024-08-25 17:44:21 +0100 |
commit | 412d09b7ce9afcb812b748a08621ad9ca70a7966 (patch) | |
tree | c44e93749c8d9805b0821517539f4b5e5e5be8d7 /examples/render-bsp/src/main.rs | |
parent | 83e4ac1499b548957c554f740934b9b2a02310aa (diff) |
fix(render-bsp): dont use deprecated simplelogger
Diffstat (limited to 'examples/render-bsp/src/main.rs')
-rw-r--r-- | examples/render-bsp/src/main.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/render-bsp/src/main.rs b/examples/render-bsp/src/main.rs index 1f85ed8..4c7ef03 100644 --- a/examples/render-bsp/src/main.rs +++ b/examples/render-bsp/src/main.rs @@ -27,7 +27,10 @@ use stockton_types::Session; fn main() { // Initialise logger - simple_logger::init_with_level(log::Level::Debug).unwrap(); + simple_logger::SimpleLogger::new() + .with_level(log::LevelFilter::Debug) + .init() + .unwrap(); // Make a window let event_loop = EventLoop::new(); |