1 unstable release

0.1.0 Feb 27, 2019

#68 in #super

LGPL-3.0-only

5KB

beautylof

A beautiful logger in rust.

This repository contains the beauty logger. It's based on the log crate.

It is made to be super simple and to mimic the output of rustup and cargo.

Usage

#[macro_use]
extern crate log;

fn main() {

    beautylog::init(log::LevelFilter::Trace).ok();

    info!("some information");
    warn!("something went wrong");
    debug!("some debug info");
    trace!("yo");
    error!("something went horribly wrong");

}

How it looks like

how it renders


lib.rs:

This crate contains the beauty logger.

It is made to be super simple and to mimic the output of rustup and cargo.

Usage:

#[macro_use]
extern crate log;

fn main() {

    beautylog::init(log::LevelFilter::Trace).ok();

    info!("some information");
    warn!("something went wrong");
    debug!("some debug info");
    trace!("yo");
    error!("something went horribly wrong");

}

How it looks like

how it renders

Dependencies

~0.1–7.5MB
~45K SLoC