Macro fuchsia_trace::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!("foo", "bar", flow_id, "x" => 5, "y" => "boo");
is equivalent to
flow_step(cstr!("foo"), cstr!("bar"), flow_id,
&[ArgValue::of("x", 5), ArgValue::of("y", "boo")]);