Skip to main content

inspect_debug_log_level

Function inspect_debug_log_level 

Source
pub fn inspect_debug_log_level<E: Debug>(error: &E, level: Level)
Expand description

Logs a debug-formatted error at the selected debug-aware tracing level.

Error, warning, and information inputs use their debug-sensitive logging macros, while debug and trace use fixed levels. The value is borrowed and otherwise left unchanged.