diff --git a/Cargo.toml b/Cargo.toml index cf41883..56f6e6b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "slog-syslog" -version = "0.13.0" +version = "0.13.1" authors = ["Dawid Ciężarkiewicz ", "William Laeder io::Result<()> { - if self.level > info.level() { - return Ok(()) + if !info.level().is_at_least(self.level) { + return Ok(()); } TL_BUF.with(|buf| { let mut buf = buf.borrow_mut();