| Crates.io | label-logger |
| lib.rs | label-logger |
| version | 0.2.3 |
| created_at | 2022-02-27 21:45:24.253143+00 |
| updated_at | 2025-04-14 21:06:34.116518+00 |
| description | Cargo-like logging library |
| homepage | |
| repository | https://github.com/mrnossiom/label-logger |
| max_upload_size | |
| id | 540512 |
| size | 79,409 |
Cargo-like logging library
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.
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.