fuchsia_trace

Macro flow_step

Source
macro_rules! flow_step {
    ($category:expr, $name:expr, $flow_id:expr $(, $key:expr => $val:expr)*) => { ... };
}
Expand description

Convenience macro for the flow_step function.

Example:

let flow_id = 1234;
flow_step!(c"foo", c"bar", flow_id, "x" => 5, "y" => "boo");
const FOO: &'static CStr = c"foo";
const BAR: &'static CStr = c"bar";
flow_step!(c"foo", c"bar", flow_id);