diff options
author | 2019-09-14 14:08:27 +0200 | |
---|---|---|
committer | 2019-09-14 14:10:28 +0200 | |
commit | 87007c7e324ad814d4d153a23cb598174c43252c (patch) | |
tree | 8c32187aebb20dbb3f2b7712e6286016cb0f4cef /examples | |
parent | 2913c64da3452d1fbf92384e4ff32c278fb383f8 (diff) | |
download | iced-87007c7e324ad814d4d153a23cb598174c43252c.tar.gz iced-87007c7e324ad814d4d153a23cb598174c43252c.tar.bz2 iced-87007c7e324ad814d4d153a23cb598174c43252c.zip |
Add `log` and `env_logger`
Relates #7
Diffstat (limited to 'examples')
-rw-r--r-- | examples/tour/main.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/tour/main.rs b/examples/tour/main.rs index 571bc2e2..06b482a7 100644 --- a/examples/tour/main.rs +++ b/examples/tour/main.rs @@ -12,6 +12,8 @@ use ggez::filesystem; use ggez::graphics; use ggez::input::mouse; +extern crate env_logger; + pub fn main() -> ggez::GameResult { let (context, event_loop) = { &mut ggez::ContextBuilder::new("iced", "ggez") @@ -33,6 +35,7 @@ pub fn main() -> ggez::GameResult { true, ); + env_logger::init(); let state = &mut Game::new(context)?; event::run(context, event_loop, state) |