7 releases (3 stable)

1.1.3 Aug 14, 2024
1.1.1 Feb 6, 2024
0.2.1 Oct 13, 2023
0.1.1 Sep 16, 2023

#301 in Debugging

41 downloads per month

MIT license

4KB
57 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

~4.5MB
~71K SLoC