alto_logger 0.2.0

an opinionated logger that provides colorful and multi-line output
Documentation

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

output

single line

use alto_logger::{Options, StyleConfig};
alto_logger::init(Options::default().with_style(StyleConfig::SingleLine)).unwrap();

single line demo

multiple lines

use alto_logger::{Options, StyleConfig};
// the Default for options is to use MultiLine, so Options::default() would work here
alto_logger::init(Options::default().with_style(StyleConfig::MultiLine)).unwrap();

multiple line demo