Crates.io | trylog |
lib.rs | trylog |
version | 0.3.1 |
source | src |
created_at | 2022-09-27 11:54:56.126758 |
updated_at | 2022-12-06 04:22:26.349921 |
description | Log if `Err` or `None`. |
homepage | |
repository | https://github.com/Berrysoft/trylog |
max_upload_size | |
id | 674892 |
size | 15,459 |
This crate is inspired by tracing-unwrap
,
and provides inspect
and unwrap_or_default
series of methods.
It also supports all types implemented Try
.
method | level |
---|---|
inspect_or_log* |
info |
unwrap_or_default_log* |
warn |
unwrap_or_log* |
error |