Macro slog::o [−][src]
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") ); }
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") ); }