[][src]Macro emit::error

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.

This example is not tested
error!("Could not start {} on {}", cmd: "emitd", machine: "s123456");