Skip to main content

Module log

Module log 

Source

Re-exportsยง

use std::convert::Infallible; ๐Ÿ”’
use std::error::Error as StdError; ๐Ÿ”’
use std::fmt; ๐Ÿ”’
use std::iter::successors; ๐Ÿ”’
use itertools::Itertools; ๐Ÿ”’
use tracing::Level; ๐Ÿ”’
use super::Error; ๐Ÿ”’

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.