Skip to content

mrnossiom/label-logger

Repository files navigation

label-logger logo

Cargo-like logging library

Time spent

Usage

use label_logger::{info, log, success};

info!(label: "Compiling", "the program");
log!("information without label");
log!("more informations without label");
success!(label: "Finished", "the compilation");

The library also includes themes for dialoguer (a library to prompt the user in the terminal) and indicatif (to show nice progress bars).

See examples for more use-case.

This library is still under v1, if necessary, breaking API changes can happen.

Credits


Work is licensed under CECILL-2.1, a French OSS license that allows modification and distribution of the software while requiring the same license for derived works.

Releases

No releases published

Sponsor this project

 

Packages

No packages published