init_log: bump max level to Debug for USB

This commit is contained in:
Astro 2020-10-01 00:34:28 +02:00
parent 1b4a030e7e
commit 12e713dc19

View File

@ -4,7 +4,7 @@ use crate::usb;
pub fn init_log() { pub fn init_log() {
static USB_LOGGER: usb::Logger = usb::Logger; static USB_LOGGER: usb::Logger = usb::Logger;
let _ = log::set_logger(&USB_LOGGER); let _ = log::set_logger(&USB_LOGGER);
log::set_max_level(log::LevelFilter::Trace); log::set_max_level(log::LevelFilter::Debug);
} }
#[cfg(feature = "semihosting")] #[cfg(feature = "semihosting")]