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 |
#438 in Debugging
Used in stream_multiplexer
35KB
729 lines
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
lib.rs
:
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
time
allows formatting a UTC timestamp with thetime
crate.- see the formatting description here [time]: https://docs.rs/time
Dependencies
~0.1–7MB
~42K SLoC