Crates.io | basiclog |
lib.rs | basiclog |
version | 0.1.4 |
source | src |
created_at | 2021-04-25 14:18:38.468922 |
updated_at | 2021-04-29 00:58:22.825632 |
description | A simple logging boilerplate for my needs |
homepage | https://github.com/zanardo/basiclog-rs |
repository | https://github.com/zanardo/basiclog-rs |
max_upload_size | |
id | 389299 |
size | 3,590 |
This is a simple Rust logging boilerplate for my needs.
Importing:
use basiclog::{info};
Just initialize it:
basiclog::init();
And use:
info!("This is a test!");
Output:
2021/04/28 21:57:04.331 DEB | This is a test!