Crates.io | min_logger |
lib.rs | min_logger |
version | 0.3.0 |
source | src |
created_at | 2023-10-24 23:02:05.416237 |
updated_at | 2023-10-24 23:02:05.416237 |
description | Ultra-simple minimalistic logger with a focus on performance. No bells or whistles, just a fast simple no-fuss logger. |
homepage | |
repository | https://codeberg.org/tryoxiss/simplest_logger |
max_upload_size | |
id | 1012859 |
size | 1,893,488 |
Hi, this isn't working with crates.io, I have never published a crate before! I am doing everything I can to get it working, and I will list 1.1.0 when its ready.
Inspired by SimpleLogger, this is a crate for ultra-simple logging. I created it because there were no crates that focused on being ultra lightweight and no-effort to use.
# Cargo.toml
[dependencies]
simplest-logger = "1.0.0"
fn main()
{
SimplestLogger::initalize(); // info by default
// SimplestLogger::set_level(LevelFilter::LEVEL) to change
// your code
}
impl Log for SimplestLogger
so it works with the log macros.tests/
)
#[log(Level)]
. (Maybe not sicne this may hurt performance)TODO (tl;dr: super fast!)