Skip to main content

grafeo_warn

Macro grafeo_warn 

Source
macro_rules! grafeo_warn {
    ($($arg:tt)*) => { ... };
}
Expand description

Emits a warn-level event.

When the tracing feature is disabled, the format string and its arguments are still referenced (via format_args!) so that variables captured in the message do not trigger unused_variable warnings. The compiler optimises the dead format_args! call away entirely.