1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-23 07:29:51 -05:00

Fix rust logger.

This commit is contained in:
Ryan Dahl 2018-08-07 13:33:36 -04:00
parent 69f73ee368
commit 070c5f85da

View file

@ -173,7 +173,7 @@ struct Logger;
impl log::Log for Logger {
fn enabled(&self, metadata: &log::Metadata) -> bool {
metadata.level() <= log::Level::Info
metadata.level() <= log::max_level()
}
fn log(&self, record: &log::Record) {