From afdf3e799a7610444208c9568a7cf7531d0c2ef3 Mon Sep 17 00:00:00 2001 From: Richard Date: Wed, 10 Nov 2021 23:56:52 -0300 Subject: Add `env_logger` to `game_of_life` --- examples/game_of_life/src/main.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'examples/game_of_life/src') diff --git a/examples/game_of_life/src/main.rs b/examples/game_of_life/src/main.rs index 50112618..dcf1ced5 100644 --- a/examples/game_of_life/src/main.rs +++ b/examples/game_of_life/src/main.rs @@ -18,6 +18,10 @@ use preset::Preset; use std::time::{Duration, Instant}; pub fn main() -> iced::Result { + env_logger::builder() + .format_timestamp(None) + .init(); + GameOfLife::run(Settings { antialiasing: true, window: window::Settings { -- cgit