From: Matt Corallo Date: Tue, 23 Nov 2021 23:03:13 +0000 (+0000) Subject: Fix compilation with the max_level_trace feature X-Git-Tag: v0.0.104~22^2~1 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=31e592bedf0899dc425036d1518dd83fb0161609;p=rust-lightning Fix compilation with the max_level_trace feature --- 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 },