Add env_logger to game_of_life
This commit is contained in:
parent
94bb03c33c
commit
afdf3e799a
2 changed files with 5 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue