use tracing for enabled/disabled features

This commit is contained in:
Noa Aarts 2024-12-10 18:03:01 +01:00
parent 22281e21f8
commit 48edab8b13
Signed by: noa
GPG key ID: 1850932741EFF672

View file

@ -39,9 +39,9 @@ macro_rules! build_parser_type_enum {
pub fn announce() {
$(
#[cfg(feature = $feat)]
println!("Enabling {}", $feat);
tracing::info!("Enabled {}", $feat);
#[cfg(not(feature = $feat))]
println!("Keeping {} disabled", $feat);
tracing::info!("Disabled {}", $feat);
)*
}
}