colored_logger

Crates.iocolored_logger
lib.rscolored_logger
version0.1.0
sourcesrc
created_at2017-03-28 11:20:47.188886
updated_at2017-03-28 11:20:47.188886
descriptionSimple colored logger
homepage
repositoryhttps://github.com/KolesnichenkoDS/colored_logger
max_upload_size
id9179
size3,262
Daniil Kolesnichenko (KolesnichenkoDS)

documentation

README

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.

Commit count: 0

cargo fmt