pub fn set_context<S: Into<String>, M: Map + Into<Value>>(key: S, value: M)
Expand description

Sets a context object.

Examples

set_context("test context", vec![("type", "os"), ("name", "Redox")]);