6 releases
Uses new Rust 2024
| 1.0.0-rc.2 |
|
|---|---|
| 1.0.0-alpha.9 |
|
| 1.0.0-alpha.8 |
|
| 1.0.0-alpha.6 |
|
| 0.1.1 | Feb 28, 2022 |
#4 in Rendering
Used in git-leave
35KB
540 lines
Cargo-like logging library
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
- woobuc/sweep for the logging theme idea.
- rust-lang/log for macros inspiration.
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.7–10MB
~75K SLoC