5 releases

1.0.0-rc.2 Mar 6, 2022
1.0.0-alpha.9 Dec 16, 2022
1.0.0-alpha.8 Apr 20, 2022
1.0.0-alpha.6 Mar 27, 2022
0.1.1 Feb 28, 2022

#64 in Rendering

Download history 1/week @ 2024-09-17 24/week @ 2024-09-24 2/week @ 2024-10-08 1/week @ 2024-10-15 1/week @ 2024-12-03 22/week @ 2024-12-10 140/week @ 2024-12-24 2/week @ 2024-12-31

165 downloads per month
Used in git-leave

CECILL-2.1

35KB
540 lines

label-logger logo

Cargo-like logging library

Nix Powered Time spent Crates.io Version

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


This work is licensed under CeCILL-2.1, a strong copyleft French OSS license. This license allows modification and distribution of the software while requiring the same license for derived works.

Dependencies

~1.6–8.5MB
~68K SLoC