min_logger 0.3.0

Ultra-simple minimalistic logger with a focus on performance. No bells or whistles, just a fast simple no-fuss logger.
Documentation
  • Coverage
  • 100%
    5 out of 5 items documented1 out of 4 items with examples
  • Size
  • Source code size: 1.89 MB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.34 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • tryoxiss

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!)