Crates.io | colored_logger |
lib.rs | colored_logger |
version | 0.1.0 |
source | src |
created_at | 2017-03-28 11:20:47.188886 |
updated_at | 2017-03-28 11:20:47.188886 |
description | Simple colored logger |
homepage | |
repository | https://github.com/KolesnichenkoDS/colored_logger |
max_upload_size | |
id | 9179 |
size | 3,262 |
A simple colored logger for Rust. Implements
log
interface.
#[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.