1
0
Fork 0
This commit is contained in:
Florian RICHER 2022-06-08 13:06:16 +02:00
parent 79b61ea333
commit 4a7246cbd8
2 changed files with 2 additions and 1 deletions

View file

@ -78,6 +78,7 @@ impl State {
}
pub fn input(&mut self, event: &WindowEvent) -> bool {
log::info!("{:#?}", event);
false
}

View file

@ -1,7 +1,7 @@
use simplelog::{TermLogger, LevelFilter, Config, TerminalMode, ColorChoice};
fn main() {
if let Err(err) = TermLogger::init(LevelFilter::Warn, Config::default(), TerminalMode::Mixed, ColorChoice::Auto) {
if let Err(err) = TermLogger::init(LevelFilter::Info, Config::default(), TerminalMode::Mixed, ColorChoice::Auto) {
println!("Failed to start logger : {}", err);
}