bouquin 0.1.1

Adds a few functions to log things with style.
Documentation

Bouquin

Description

Adds a few functions to log things with style.

The focus of this library is on ease of use and modularity.

Disclaimer

Bouquin is intended to be used by small projects as a time saver and doesn't do much.

You might find better alternatives by searching a bit more.

Usage

use bouquin::prelude::*;

fn main () {
	log_info("lorem ipsum");
	log_warn("dolor amit");

	let a = 420;
	log_error(format!("caused by: '{}'", a));
}

Todo

For now, the crate doesn't do much, but plans are:

  • Add macros to define custom behavior for log calls.
  • Add configuration to write logs on disk in background and a way to avoid having one static Logger.
  • Implement a convenient way to add and organize channels (error / info / warn).