Crate utrace_macros

Source

Macros§

trace_here
This macro should be used if you want to trace a specific execution span. It will emit trace span from it’s point of invocation to the end of the block it was invoked in.

Attribute Macros§

default_transport
This macro provides a transport implementation for utrace.
timestamp
This macro should be used to define timestamp function which will be used by utrace to obtain event timestamps.
trace
This attribute can be applied to functions and async functions to instrument them. By default, when applied to a function, it will trace function entry and function exit. If applied to async fn, it will report creation, drop and poll spans of the respective Future.