Skip to main content

begin_scope_cond

Macro begin_scope_cond 

Source
macro_rules! begin_scope_cond {
    ($cond:expr, $category:tt, $label:tt $(, $key:tt => $val:expr)* $(,)?) => { ... };
}
Expand description

Similar to begin_scope!, but checks the given runtime_condition, in addition to the given category, to determine whether to emit the event.