This is a simple Rust logging boilerplate for my needs.
Importing:
rust use basiclog::{info};
Just initialize it:
rust basiclog::init();
And use:
rust info!("This is a test!");
Output:
2021-04-25 11:14:12 [INF] - This is a test!