Expand description

A basic logger for the log facade.


  1. Add the required dependencies to your Cargo.toml.
basic-logger = "0.1"
log = "0.4"

Note: Coloured output will be enabled by default. You can remove this feature by disabling all features.

basic-logger = { version = "0.1", default-features = false }
  1. Initialize the logger (Do this as early as possible in your project).
use basic_logger::BasicLogger;

use log::info;

fn main() {

    info!("Hello, world!");


Implements log and a set of builder methods used for configuration.