#java #logger #logging #slf4j

bin+lib logr

Logging like the simple logging facade for Java http://www.slf4j.org/

9 releases (3 stable)

2.0.0 Mar 3, 2020
1.0.1 Dec 29, 2020
0.1.5 Dec 17, 2019

#140 in #java

25 downloads per month

MIT license

9KB
229 lines

Logr

Simple logging, like java and easy to use.

Examples

Simple:

use logr::log;

fn main() {
    let logger = log::get("MyLog"); // Create a new Logger with the name "MyLog"
    logger.info("Hello!"); // info log
    // expected output: 2019-12-16 18:33:27 [logr:MyLog] INFO: Hello!
}

cool logging

Dependencies

~1.1–8MB
~63K SLoC