Macro emit::error
[−]
[src]
macro_rules! error { (target: $target:expr, $s:expr, $($n:ident: $v:expr),*) => { ... }; ($s:expr, $($n:ident: $v:expr),*) => { ... }; }
Emit an error event to the ambient pipeline.
Examples
The example below will be emitted at the emit::LogLevel::Error
level.
error!("Could not start {} on {}", cmd: "emitd", machine: "s123456");