4 releases
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 |
#63 in Rendering
793 downloads per month
Used in git-leave
34KB
544 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.
Credits
- woobuc/sweep for the logging theme idea.
- rust-lang/log for macros inspiration.
This library is still under development and breaking API changes can happen at all time.
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.
Dependencies
~1.3–8.5MB
~68K SLoC