#log #logging #logger

alto_logger

an opinionated logger that provides colorful and multi-line output

12 releases

0.3.7 Aug 23, 2020
0.3.6 Jun 6, 2020
0.3.4 May 19, 2020
0.3.2 Apr 27, 2020
0.1.1 Feb 24, 2020

#184 in Debugging

Download history 9/week @ 2021-06-03 24/week @ 2021-06-10 9/week @ 2021-06-17 8/week @ 2021-06-24 7/week @ 2021-07-01 20/week @ 2021-07-08 62/week @ 2021-07-15 10/week @ 2021-07-22 47/week @ 2021-07-29 19/week @ 2021-08-05 18/week @ 2021-08-12 8/week @ 2021-08-19 5/week @ 2021-08-26 2/week @ 2021-09-02 13/week @ 2021-09-09 5/week @ 2021-09-16

88 downloads per month
Used in stream_multiplexer

0BSD license

33KB
735 lines

alto_logger

Crates Documentation Actions

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

Dependencies

~110–770KB
~16K SLoC