forked from M-Labs/nac3
1
0
Fork 0

runtime: set default log level to Info

This commit is contained in:
Sebastien Bourdeauducq 2020-09-01 17:11:21 +08:00
parent 6ede148810
commit b0706f470d
1 changed files with 2 additions and 2 deletions

View File

@ -166,9 +166,9 @@ pub fn main_core0() {
let buffer_logger = unsafe {
logger::BufferLogger::new(&mut LOG_BUFFER[..])
};
buffer_logger.set_uart_log_level(log::LevelFilter::Debug);
buffer_logger.set_uart_log_level(log::LevelFilter::Info);
buffer_logger.register();
log::set_max_level(log::LevelFilter::Debug);
log::set_max_level(log::LevelFilter::Info);
info!("NAR3/Zynq7000 starting...");