Skip to main content

inspect_log_level

Function inspect_log_level 

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

Logs a display-formatted error at the selected tracing level.

Each tracing level maps to its corresponding project logging macro. The value is borrowed and otherwise left unchanged.