trylog 0.2.0

Log if `Err` or `None`.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
# trylog
This crate is inspired by [`tracing-unwrap`](https://crates.io/crates/tracing-unwrap),
and provides `inspect` and `unwrap_or_default` series of methods.

It also supports all types implemented `Try`.

## Log level
| method                   | level |
| ------------------------ | ----- |
| `inspect_or_log*`        | info  |
| `unwrap_or_default_log*` | warn  |
| `unwrap_or_log*`         | error |