Crate instrument_level

Crate instrument_level 

Source
Expand description

A Rust procedural macro collection providing convenient tracing instrumentation macros for different log levels (trace, debug, info, warn, error). This crate simplifies the process of adding tracing spans to functions with pre-configured log levels.

Attribute Macrosยง

instrument_debug
Enables debug-level instrumentation for the decorated function.
instrument_error
Enables error-level instrumentation for the decorated function.
instrument_info
Enables info-level instrumentation for the decorated function.
instrument_trace
Enables trace-level instrumentation for the decorated function.
instrument_warn
Enables warn-level instrumentation for the decorated function.