Expand description
This crate provides inspect_or_log, unwrap_or_log and unwrap_or_default_log methods
on all types implemented Try.
They are useful if you want to log the error value.
Different log levels are chosen by calling different methods.
| method | level |
|---|---|
inspect_or_log* | info |
unwrap_or_default_log* | warn |
unwrap_or_log* | error |
Modules§
- macros
- Provides another implementations.
Traits§
- TryLog
- This trait provides the or-log methods.