Add logs
This commit is contained in:
parent
79b61ea333
commit
4a7246cbd8
2 changed files with 2 additions and 1 deletions
|
@ -78,6 +78,7 @@ impl State {
|
|||
}
|
||||
|
||||
pub fn input(&mut self, event: &WindowEvent) -> bool {
|
||||
log::info!("{:#?}", event);
|
||||
false
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue