[−][src]Crate sp_tracing
Substrate tracing primitives and macros.
To trace functions or invidual code in Substrate, this crate provides tracing_span
and enter_span
. See the individual docs for how to use these macros.
Macros
enter_span | Enter a span. |
if_tracing | Generates the given code if the tracing dependency is enabled. |
tracing_span | Runs given code within a tracing span, measuring it's execution time. |