#printing #configuration #env-logger #log

wisual-logger

Just a pretty printer configuration for env_logger

5 releases

0.1.4 Jan 15, 2022
0.1.3 Jul 9, 2021
0.1.2 Jun 9, 2021
0.1.1 Jun 9, 2021
0.1.0 Jun 9, 2021

#11 in #env-logger

Download history 73/week @ 2024-04-01 33/week @ 2024-04-08 41/week @ 2024-04-15 90/week @ 2024-04-22 62/week @ 2024-04-29 40/week @ 2024-05-06 53/week @ 2024-05-13 40/week @ 2024-05-20 35/week @ 2024-05-27 34/week @ 2024-06-03 43/week @ 2024-06-10 37/week @ 2024-06-17 49/week @ 2024-06-24 24/week @ 2024-07-08 66/week @ 2024-07-15

141 downloads per month
Used in 16 crates (9 directly)

MIT license

43KB
54 lines

wisual-logger

crates.io docs.rs


Just a pretty printer configuration for env_logger.

fn main() {
    wisual_logger::init_from_env();
    log::info!("Hello world");
}

Will output:

INFO [2021-07-09T02:26:16.239338+00:00] (main@hello_world) Hello world

Dependencies

~4–13MB
~131K SLoC