colored_logger 0.1.0

Simple colored logger
Documentation
  • Coverage
  • 0%
    0 out of 2 items documented0 out of 1 items with examples
  • Size
  • Source code size: 3.26 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 284.79 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 15s Average build duration of successful builds.
  • all releases: 15s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • zkbpkp

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.