Crate cute_log[][src]

This crate provides simple and cute logger.

Feautres

  • timestamp - Enables timestamps in logs by means of chrono. Enabled by default

Usage

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

fn main() {
    cute_log::init();
    info!("it works!");
}

Structs

Logger

Simple Logger implementation

Functions

init

Sets global logger with log level Trace