nall

Crates.ionall
lib.rsnall
version0.6.0
created_at2025-03-26 23:11:05.417341+00
updated_at2025-05-20 22:14:45.28825+00
descriptionNot Another Logging Library
homepagehttps://github.com/R1shy/NALL
repositoryhttps://github.com/R1shy/NALL
max_upload_size
id1607290
size5,534
R1shy (R1shy)

documentation

README

NALL (Not Another Logging Library)

this is in fact another logging Library

Usage

use NALL::log::log;
use NALL::clog::clog;
fn main() {


log(NALL::levels::LogLevel::Info, "Hi I am information".to_string());
log(NALL::levels::LogLevel::Warn, "Hi, I am a warning".to_string());
log(NALL::levels::LogLevel::Err, "Hi, I am an error".to_string());
log(NALL::levels::LogLevel::Fatal, "Goodbye :)".to_string());
clog(NALL::levels::LogLevel::Info, "Hi I am information".to_string(), None);
clog(NALL::levels::LogLevel::Warn, "Hi, I am a warning".to_string(), None);
clog(NALL::levels::LogLevel::Err, "Hi, I am an error".to_string(), None);
clog(NALL::levels::LogLevel::Fatal, "Goodbye :)".to_string(), None);

}

for clog check this ansi color cli for possible color values

Installation


# existing:
    cargo add NALL

# new project:
    cargo new my-project
    cd my-project 
    cargo add NALL
Commit count: 38

cargo fmt