From 31e592bedf0899dc425036d1518dd83fb0161609 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Tue, 23 Nov 2021 23:03:13 +0000 Subject: [PATCH] Fix compilation with the max_level_trace feature --- lightning/src/util/macro_logger.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightning/src/util/macro_logger.rs b/lightning/src/util/macro_logger.rs index 0210229de..2dd73d827 100644 --- a/lightning/src/util/macro_logger.rs +++ b/lightning/src/util/macro_logger.rs @@ -177,7 +177,7 @@ macro_rules! log_given_level { #[cfg(not(any(feature = "max_level_off", feature = "max_level_error", feature = "max_level_warn", feature = "max_level_info", feature = "max_level_debug", feature = "max_level_trace")))] $crate::util::logger::Level::Gossip => log_internal!($logger, $lvl, $($arg)*), - #[cfg(any(feature = "max_level_off", feature = "max_level_error", feature = "max_level_warn", feature = "max_level_info", feature = "max_level_debug"))] + #[cfg(any(feature = "max_level_off", feature = "max_level_error", feature = "max_level_warn", feature = "max_level_info", feature = "max_level_debug", feature = "max_level_trace"))] _ => { // The level is disabled at compile-time }, -- 2.39.5