#log #logger #logging

emoji-logger

pretty_env_logger but it has emojis and is probably quite a bit worse

1 unstable release

0.1.0 Oct 7, 2018

#22 in #logger

Download history 14/week @ 2018-11-16 8/week @ 2018-11-23 16/week @ 2018-11-30 33/week @ 2018-12-07 21/week @ 2018-12-14 2/week @ 2018-12-21 4/week @ 2018-12-28 1/week @ 2019-01-04 2/week @ 2019-01-11 5/week @ 2019-01-18 1/week @ 2019-01-25 2/week @ 2019-02-01

43 downloads per month

MIT license

7KB
88 lines


lib.rs:

A logger configured via an environment variable which writes cancer to standard error with colored output for log levels.

Example

extern crate emoji_logger;
#[macro_use] extern crate log;

fn main() {
    emoji_logger::init();

    trace!("this is trace level");
    debug!("mom get the rubber duck");
    info!("heck, our disk is full of logs again...");
    warn!("should we worry");
    error!("pls help");
}

Dependencies