You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`#[instrument_trace]` - Trace Level Instrumentation - Use this macro to add trace-level logging instrumentation to functions. This is the most verbose log level and automatically excludes all function arguments from span fields using `skip_all`.
32
32
33
-
Use this macro to add trace-level logging instrumentation to functions. This is the most verbose log level and automatically excludes all function arguments from span fields using `skip_all`.
33
+
-`#[instrument_debug]` - Debug Level Instrumentation - Use this macro to add debug-level logging instrumentation to functions. Ideal for development and debugging purposes.
-`#[instrument_info]` - Info Level Instrumentation - Use this macro to add info-level logging instrumentation to functions. Suitable for general informational messages.
36
36
37
-
Use this macro to add debug-level logging instrumentation to functions. Ideal for development and debugging purposes.
37
+
-`#[instrument_warn]` - Warning Level Instrumentation - Use this macro to add warning-level logging instrumentation to functions. Use for potentially harmful situations.
38
38
39
-
### `#[instrument_info]` - Info Level Instrumentation
40
-
41
-
Use this macro to add info-level logging instrumentation to functions. Suitable for general informational messages.
Use this macro to add error-level logging instrumentation to functions. Use for error conditions that don't necessarily stop program execution.
50
-
51
-
Each macro accepts optional tracing parameters such as `target`, `name`, `skip`, `fields`, etc., which can be used to customize the span behavior according to your needs.
39
+
-`#[instrument_error]` - Error Level Instrumentation - Use this macro to add error-level logging instrumentation to functions. Use for error conditions that don't necessarily stop program execution. Each macro accepts optional tracing parameters such as `target`, `name`, `skip`, `fields`, etc., which can be used to customize the span behavior according to your needs.
0 commit comments