From b8e6cc22aff1e38c2f3f915d1bd332d87da45fd9 Mon Sep 17 00:00:00 2001 From: filipriec Date: Fri, 13 Jun 2025 16:57:58 +0200 Subject: [PATCH] way better debugging in the status line now --- client/src/main.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/client/src/main.rs b/client/src/main.rs index a9b18b8..fd5e5b3 100644 --- a/client/src/main.rs +++ b/client/src/main.rs @@ -13,7 +13,12 @@ async fn main() -> Result<()> { { // If ui-debug is on, set up our custom writer. let writer = UiDebugWriter::new(); - tracing_subscriber::fmt().with_writer(move || writer.clone()).init(); + tracing_subscriber::fmt() + .with_level(false) // Don't show INFO, ERROR, etc. + .with_target(false) // Don't show the module path. + .without_time() // This is the correct and simpler method. + .with_writer(move || writer.clone()) + .init(); } #[cfg(not(feature = "ui-debug"))] {