#logger #minimalist #performance #focused #level #ultra-simple #no-fuss

min_logger

Ultra-simple minimalistic logger with a focus on performance. No bells or whistles, just a fast simple no-fuss logger.

1 unstable release

0.3.0 Oct 24, 2023

#21 in #focused

Download history 2/week @ 2024-09-18 2/week @ 2024-09-25 4/week @ 2024-11-27 36/week @ 2024-12-04 28/week @ 2024-12-11 6/week @ 2024-12-18 8/week @ 2025-01-01

53 downloads per month

MIT/Apache

1MB
156 lines

SimplestLogger

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
}

Roadmap

  • impl Log for SimplestLogger so it works with the log macros.
  • Unit testing
    • Errors
    • Panics (only one!)
    • Benchmarks
  • Integration testing (with tests/)
    • Errors
    • Panics (only one!)
    • Benchmarks
  • Attribute feature to change log level per-function #[log(Level)]. (Maybe not sicne this may hurt performance)

Performance

TODO (tl;dr: super fast!)

Dependencies