1 unstable release
Uses old Rust 2015
0.1.0 | Mar 28, 2017 |
---|
#30 in #colored
3KB
colored_logger
A simple colored logger for Rust. Implements
log
interface.
Usage
#[macro_use] extern crate log;
extern crate colored_logger;
pub fn main() {
colored_logger::init().unwrap();
info!("info message");
warn!("warning message");
error!("error message");
}
For detailed usage info check
log
crate docs.
Dependencies
~2.3–9MB
~76K SLoC