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

#4 in Rendering

Download history 3/week @ 2024-12-13 120/week @ 2024-12-20 21/week @ 2024-12-27 3/week @ 2025-01-03 6/week @ 2025-01-10 2/week @ 2025-02-07 3/week @ 2025-02-14

879 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
~67K SLoC