| Crates.io | syn_crabs |
| lib.rs | syn_crabs |
| version | 0.2.0 |
| created_at | 2024-08-19 08:11:15.406053+00 |
| updated_at | 2024-08-24 06:09:37.368361+00 |
| description | A lightweight and configurable logging library with color-coded output for Rust applications. |
| homepage | |
| repository | https://github.com/yourusername/syn_crabs |
| max_upload_size | |
| id | 1343599 |
| size | 4,272 |
syn_crabs is a lightweight and configurable logging utility for Rust applications, featuring color-coded log output.
RUST_LOG environment variableAdd syn_crabs to your Cargo.toml:
[dependencies]
syn_crabs = "0.1.0"
Setting Log Level:
RUST_LOG=debug cargo run
Implementing:
use logalicious_rs::setup_logging;
fn main() {
setup_logging().expect("Failed to initialize logging");
log::info!("This is an info message");
log::error!("This is an error message");
}