From b5e11f2c7fc9189945e231bc4595c1f2184e3081 Mon Sep 17 00:00:00 2001 From: J / Jacob Babich Date: Mon, 30 Sep 2024 15:18:34 -0400 Subject: [PATCH] chore(cli-clap): or at least I hope chore is the right conventional commit type to use - switch `println!` to a `tracing` invocation (to verify that the tracing infrastructure works) --- cli-clap/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cli-clap/src/lib.rs b/cli-clap/src/lib.rs index 6e8b93b..1cefad2 100644 --- a/cli-clap/src/lib.rs +++ b/cli-clap/src/lib.rs @@ -1,3 +1,4 @@ pub fn main() { - println!("Hello, world!"); + #[cfg(feature = "tracing")] + tracing::info!("Hello, world!"); }