mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-11-28 03:35:51 +03:00
change default log level
This commit is contained in:
parent
ddfaf73eae
commit
09e484b2a3
@ -16,7 +16,7 @@ impl Logger {
|
||||
pub fn setup() {
|
||||
#[cfg(target_arch = "wasm32")]
|
||||
{
|
||||
console_log::init_with_level(log::Level::Debug).unwrap();
|
||||
console_log::init_with_level(log::Level::Info).unwrap();
|
||||
}
|
||||
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
@ -25,7 +25,7 @@ impl Logger {
|
||||
last_fast_paths_note: RwLock::new(None),
|
||||
}))
|
||||
.unwrap();
|
||||
log::set_max_level(log::LevelFilter::Debug);
|
||||
log::set_max_level(log::LevelFilter::Info);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user