| Crates.io | nall |
| lib.rs | nall |
| version | 0.6.0 |
| created_at | 2025-03-26 23:11:05.417341+00 |
| updated_at | 2025-05-20 22:14:45.28825+00 |
| description | Not Another Logging Library |
| homepage | https://github.com/R1shy/NALL |
| repository | https://github.com/R1shy/NALL |
| max_upload_size | |
| id | 1607290 |
| size | 5,534 |
this is in fact another logging Library
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
# existing:
cargo add NALL
# new project:
cargo new my-project
cd my-project
cargo add NALL