diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/render-bsp/Cargo.toml | 2 | ||||
-rw-r--r-- | examples/render-bsp/src/main.rs | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/examples/render-bsp/Cargo.toml b/examples/render-bsp/Cargo.toml index eb58e4a..82e9cb5 100644 --- a/examples/render-bsp/Cargo.toml +++ b/examples/render-bsp/Cargo.toml @@ -10,5 +10,5 @@ stockton-types = { path = "../../stockton-types" } stockton-levels = { path = "../../stockton-levels" } winit = "^0.21" log = "0.4.0" -simple_logger = "1.0" +simple_logger = "^1.11" image = "0.23.2" 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(); |