Expand description
instrument macro with improved default safety
This wraps the tracing::instrument macro and:
- adds
skip_all - errors on
skip
Its purpose is to prevent accidentally including large function arguments in tracing spans. By
enforcing the use of skip_all, users must use the fields argument of the tracing::instrument
macro to manually select their desired fields.
Functionsยง
- instrument_
impl - Implementation for the
#[instrument]macro.