pub fn init_logger(level: log::LevelFilter) {
    unsafe {
        log::set_logger_racy(&EspLogger).unwrap();
        log::set_max_level_racy(level);
    }
}
Initialize the logger with the given maximum log level.
esp-println/src/logger.rs