Macro slog::o [−][src]
macro_rules! o { ($($args:tt)*) => { ... }; }
Macro for building group of key-value pairs:
OwnedKV
#[macro_use] extern crate slog; fn main() { let drain = slog::Discard; let _root = slog::Logger::root( drain, o!("key1" => "value1", "key2" => "value2") ); }