use tracing for enabled/disabled features
This commit is contained in:
parent
22281e21f8
commit
48edab8b13
1 changed files with 2 additions and 2 deletions
|
|
@ -39,9 +39,9 @@ macro_rules! build_parser_type_enum {
|
||||||
pub fn announce() {
|
pub fn announce() {
|
||||||
$(
|
$(
|
||||||
#[cfg(feature = $feat)]
|
#[cfg(feature = $feat)]
|
||||||
println!("Enabling {}", $feat);
|
tracing::info!("Enabled {}", $feat);
|
||||||
#[cfg(not(feature = $feat))]
|
#[cfg(not(feature = $feat))]
|
||||||
println!("Keeping {} disabled", $feat);
|
tracing::info!("Disabled {}", $feat);
|
||||||
)*
|
)*
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue