Skip to main content

feat_debug

Macro feat_debug 

Source
macro_rules! feat_debug {
    ($feature:expr, $fmt:literal $(, $arg:expr)* $(,)?) => { ... };
}
Expand description

Log a message at debug level for a feature. Only prints if the feature is enabled at debug level or higher.

feat_debug!("gc", "heap size: {}", size);