fix: prevent multiple server address print (#713)

This commit is contained in:
Valerio Ageno
2025-04-09 08:49:01 +02:00
committed by GitHub
parent ac20a83e7e
commit 1adf380798
7 changed files with 59 additions and 16 deletions
@@ -0,0 +1,11 @@
#[macro_export]
/// Log a message in the terminal using the custom tuono formatter.
/// The messages printed with this macro should inform or
/// guide the user.
///
/// The debug/error messages should be printed using the `tracing` crate
macro_rules! tuono_println {
($($arg:tt)*) => {{
println!(" {}", format!($($arg)*));
}};
}