pretty_env_logger 0.2.1

a visually pretty env_logger

pretty-env-logger Crates.io Crates.io

A simple logger build on top off env_logger. It is configured via an environment variable and writes to standard error with nice colored output for log levels.

Usage

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

fn main() {
    pretty_env_logger::init().unwrap();
    info!("such information");
    warn!("o_O");
    error!("much error");
}

License

Licensed under either of