diff options
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(); |