From: Matt Corallo Date: Sun, 7 Mar 2021 21:24:05 +0000 (-0500) Subject: Make `util::logger::macro_logger` pub(crate) not pub. X-Git-Tag: v0.0.14~51^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=9b55c0349a9fe60124b574175b9623a7d3316cc4;p=rust-lightning Make `util::logger::macro_logger` pub(crate) not pub. There is no reason for it to be pub, its a largely-internal implementation detail of how we format our own objects for logging. --- diff --git a/lightning/src/util/mod.rs b/lightning/src/util/mod.rs index b8028ea97..a66098847 100644 --- a/lightning/src/util/mod.rs +++ b/lightning/src/util/mod.rs @@ -28,7 +28,7 @@ pub(crate) mod ser_macros; /// Logging macro utilities. #[macro_use] -pub mod macro_logger; +pub(crate) mod macro_logger; // These have to come after macro_logger to build pub mod logger;