forked from AbleOS/holey-bytes
logging bugfix
This commit is contained in:
parent
1d04287532
commit
6b7572f089
|
@ -25,8 +25,10 @@ impl log::Log for Logger {
|
|||
}
|
||||
|
||||
fn log(&self, record: &log::Record) {
|
||||
if self.enabled(record.metadata()) {
|
||||
eprintln!("{}", record.args())
|
||||
}
|
||||
}
|
||||
|
||||
fn flush(&self) {}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue