Skip to content

Commit

Permalink
fix(server): fix logging level comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
vyfor committed Dec 31, 2024
1 parent a490466 commit 86f2a70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/logger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ impl Logger {
}

pub fn log(&self, level: LogLevel, message: Cow<str>, client_id: u32) {
if level <= self.level && level != LogLevel::Off {
if level >= self.level && level != LogLevel::Off {
self.tx
.send(server_event!(
client_id,
Expand Down

0 comments on commit 86f2a70

Please sign in to comment.