Skip to main content

Module log

Module log 

Source

Functions§

default_debug_log
Debug-logs an error and returns a default value.
default_log
Logs an error and returns a default value.
else_debug_log
Debug-logs an error and recovers with a default value in an infallible result.
else_log
Logs an error and recovers with a default value in an infallible result.
error_chain
Flatten an error’s source() chain into one ; caused by: string.
inspect_debug_log
Logs an error’s debug representation through the debug-aware error path.
inspect_debug_log_level
Logs a debug-formatted error at the selected debug-aware tracing level.
inspect_log
Logs an error’s display representation at error level.
inspect_log_level
Logs a display-formatted error at the selected tracing level.
map_debug_log
Converts and debug-logs an error while returning the converted value.
map_log
Converts and logs an error while returning the converted value.