From fe96c8b2fa76d653d8183461b45f2f2c1a6a768b Mon Sep 17 00:00:00 2001 From: Tommy Volk Date: Mon, 2 Dec 2024 08:34:20 -0600 Subject: [PATCH] chore: remove unused code from fedimint-logging --- fedimint-logging/src/lib.rs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/fedimint-logging/src/lib.rs b/fedimint-logging/src/lib.rs index c952c6785e9..1c17548b222 100644 --- a/fedimint-logging/src/lib.rs +++ b/fedimint-logging/src/lib.rs @@ -21,7 +21,6 @@ use tracing_subscriber::layer::SubscriberExt; use tracing_subscriber::util::SubscriberInitExt; use tracing_subscriber::{EnvFilter, Layer}; -pub const LOG_BLOCKCHAIN: &str = "fm::net::blockchain"; pub const LOG_CONSENSUS: &str = "fm::consensus"; pub const LOG_CORE: &str = "fm::core"; pub const LOG_DB: &str = "fm::db"; @@ -45,7 +44,6 @@ pub const LOG_CLIENT_NET_API: &str = "fm::client::net::api"; pub const LOG_CLIENT_BACKUP: &str = "fm::client::backup"; pub const LOG_CLIENT_RECOVERY: &str = "fm::client::recovery"; pub const LOG_CLIENT_RECOVERY_MINT: &str = "fm::client::recovery::mint"; -pub const LOG_CLIENT_MODULE_META: &str = "fm::client::module::meta"; pub const LOG_CLIENT_MODULE_MINT: &str = "fm::client::module::mint"; pub const LOG_CLIENT_MODULE_LN: &str = "fm::client::module::ln"; pub const LOG_CLIENT_MODULE_WALLET: &str = "fm::client::module::wallet"; @@ -59,8 +57,6 @@ pub struct TracingSetup { tokio_console_bind: Option, #[cfg(feature = "telemetry")] with_jaeger: bool, - #[cfg(feature = "telemetry")] - with_chrome: bool, with_file: Option, } @@ -79,13 +75,6 @@ impl TracingSetup { self } - /// Setup telemetry through Chrome - #[cfg(feature = "telemetry")] - pub fn with_chrome(&mut self, enabled: bool) -> &mut Self { - self.with_chrome = enabled; - self - } - pub fn with_file(&mut self, file: Option) -> &mut Self { self.with_file = file; self