[][src]Macro tracing_facade::trace_scoped

macro_rules! trace_scoped {
    ($name: expr) => { ... };
    ($name: expr, $($metadata: tt)+) => { ... };
}

Traces in a given scope.

trace_scoped calls trace_begin, and then constructs a scope guard that calls trace_end upon the exit of the scope. Metadata, if specified, is provided to only trace_begin.