refactor: add timezone support to wait_infinity, improve MQTT updates in config mode, and minor cleanup
This commit is contained in:
@@ -34,8 +34,7 @@ impl InterceptorLogger {
|
||||
}
|
||||
|
||||
pub fn init(&'static self) {
|
||||
match log::set_logger(self)
|
||||
.map(|()| log::set_max_level(LevelFilter::Info)) {
|
||||
match log::set_logger(self).map(|()| log::set_max_level(LevelFilter::Info)) {
|
||||
Ok(()) => {}
|
||||
Err(e) => {
|
||||
error!("Logger already set: {}", e);
|
||||
|
||||
Reference in New Issue
Block a user