label-logger

Crates.iolabel-logger
lib.rslabel-logger
version0.2.1
sourcesrc
created_at2022-02-27 21:45:24.253143
updated_at2024-05-05 23:50:13.709603
descriptionCargo-like logging library
homepage
repositoryhttps://github.com/MrNossiom/label-logger
max_upload_size
id540512
size53,507
Milo Moisson (mrnossiom)

documentation

README

Label Logger

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

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.

Commit count: 62

cargo fmt