#logging #logger #log

alto_logger

an opinionated logger that provides colorful and multi-line output

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

#378 in Debugging

Download history 1/week @ 2023-11-21 2/week @ 2023-11-28 2/week @ 2024-02-13 40/week @ 2024-02-20 17/week @ 2024-02-27 7/week @ 2024-03-05

66 downloads per month
Used in stream_multiplexer

0BSD license

35KB
729 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

~120–510KB