Macro record_all
#[macro_export]
macro_rules! record_all {
($span:expr, $($fields:tt)*) => { ... };
}
Records multiple values on a span in a single call. As with recording individual values, all fields must be declared when the span is created.
This macro supports two optional sigils:
%uses the Display implementation.?uses the Debug implementation.
For more details, see the top-level documentation.
Examples
# use ;
let span = info_span!.entered;
record_all!;