logging bugfix

This commit is contained in:
Jakub Doka 2024-09-30 19:41:52 +02:00
parent 1d04287532
commit 6b7572f089
No known key found for this signature in database
GPG key ID: C6E9A89936B8C143

View file

@ -25,7 +25,9 @@ impl log::Log for Logger {
}
fn log(&self, record: &log::Record) {
eprintln!("{}", record.args())
if self.enabled(record.metadata()) {
eprintln!("{}", record.args())
}
}
fn flush(&self) {}