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