warn

Macro warn 

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

Logs a message with the warning prefix

ยงExample

use report::warn;

let data = 42;
warn!("Warning: {data}");