Crate micromegas_tracing_proc_macros

Crate micromegas_tracing_proc_macros 

Source
Expand description

log_fn and span_fn procedural macros

Injects instrumentation into sync and async functions. span_fn supports sync functions, async functions, and async trait methods automatically.

Attribute Macrosยง

log_fn
log_fn: log the execution of a function
span_fn
span_fn: trace the execution of sync functions, async functions, and async trait methods