13 releases
| 0.4.0 | Aug 30, 2022 |
|---|---|
| 0.3.7 | Aug 23, 2020 |
| 0.3.6 | Jun 6, 2020 |
| 0.3.4 | May 19, 2020 |
| 0.1.1 | Feb 24, 2020 |
#881 in Debugging
44 downloads per month
Used in stream_multiplexer
35KB
729 lines
filtering
Use the ENV variable RUST_LOG with module_name=level
RUST_LOG="tokio=warn,my_module=info,my_module::inner=trace"
A default level can be provided with just level. e.g. RUST_LOG=trace will enable trace for all modules.
You can disable specific modules/crates by using the off level
optional features
timeallows formatting a UTC timestamp with thetimecrate.- see the formatting description here [time]: https://docs.rs/time
alto_logger
filtering
use the environmental variable RUST_LOG with module_name=level
RUST_LOG="tokio=warn,my_module=info,my_module::inner=trace"
optional features
time enables printing out a UTC timestamp with time
Dependencies
~0.1–2MB
~39K SLoC