Skip to main content

warn

Macro warn 

Source
macro_rules! warn {
    ($logger:expr, $($rest:tt)*) => { ... };
}
Available on crate feature std only.
Expand description

Emit a crate::Level::Warn record.

Despite the name colliding with the warn attribute, this macro works in expression position the same way log::warn! does in the upstream log crate.