diff --git a/src/util/logger.rs b/src/util/logger.rs index 4021f695..4d39ce12 100644 --- a/src/util/logger.rs +++ b/src/util/logger.rs @@ -27,7 +27,7 @@ impl Logger { } pub fn log(&self, level: LogLevel, message: Cow, client_id: u32) { - if level <= self.level && level != LogLevel::Off { + if level >= self.level && level != LogLevel::Off { self.tx .send(server_event!( client_id,