Macro emit::warn
[−]
[src]
macro_rules! warn { (target: $target:expr, $s:expr, $($n:ident: $v:expr),*) => { ... }; ($s:expr, $($n:ident: $v:expr),*) => { ... }; }
Emit a warning event to the ambient pipeline.
Examples
The example below will be emitted at the emit::LogLevel::Warn
level.
warn!("SQL query took {} ms", elapsed: 7890);