Add env_logger to game_of_life

This commit is contained in:
Richard 2021-11-10 23:56:52 -03:00
parent 94bb03c33c
commit afdf3e799a
2 changed files with 5 additions and 0 deletions

View file

@ -10,3 +10,4 @@ iced = { path = "../..", features = ["canvas", "tokio", "debug"] }
tokio = { version = "1.0", features = ["sync"] }
itertools = "0.9"
rustc-hash = "1.1"
env_logger = "0.9"

View file

@ -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 {