From 070c5f85daff45a08b53183b74b79b03c2a3415c Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 7 Aug 2018 13:33:36 -0400 Subject: [PATCH] Fix rust logger. --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index c02d918b17..ae1ee37b1a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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) {