5 releases (1 stable)

1.1.1 Feb 6, 2024
0.2.1 Oct 13, 2023
0.2.0 Oct 5, 2023
0.1.1 Sep 16, 2023
0.1.0 Sep 16, 2023

#304 in Debugging

34 downloads per month

MIT license

4KB
56 lines

logo

quick init log env

quickstart

cargo add logo

logo.init_prod();// init prod env
info!("hello {:?}", "world");
//write to logs/xxx-20321212.log
//2023-09-16 19:28:30.572+08 0ms INFO hello world

logo.init_debug(); // init debug env
//write to stdout

Dependencies

~4MB
~71K SLoC