[][src]Macro emit::info

macro_rules! info {
    (target: $target:expr, $s:expr, $($n:ident: $v:expr),*) => { ... };
    ($s:expr, $($n:ident: $v:expr),*) => { ... };
}

Emit an informational event to the ambient pipeline.

Examples

The example below will be emitted at the emit::LogLevel::Info level.

This example is not tested
info!("Hello, {}!", user: env::var("USERNAME").unwrap());