From b68b67b82dd24da70763b7bf8531b4b5847e58a0 Mon Sep 17 00:00:00 2001 From: Lars Eggert Date: Fri, 31 Jan 2025 08:22:54 +0200 Subject: [PATCH] Update neqo-transport/src/connection/mod.rs Co-authored-by: Martin Thomson Signed-off-by: Lars Eggert --- neqo-transport/src/connection/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neqo-transport/src/connection/mod.rs b/neqo-transport/src/connection/mod.rs index b0335f98d5..6fec2cb42a 100644 --- a/neqo-transport/src/connection/mod.rs +++ b/neqo-transport/src/connection/mod.rs @@ -3530,7 +3530,7 @@ impl Connection { } fn log_packet(&self, meta: packet::MetaData, now: Instant) { - if log::STATIC_MAX_LEVEL == log::LevelFilter::Off || !log::log_enabled!(log::Level::Debug) { + if !log::log_enabled!(log::Level::Debug) { return; }