yog-logging 0.1.0

Yog logging — lightweight, zero-overhead logging macros.
Documentation
  • Coverage
  • 62.5%
    5 out of 8 items documented1 out of 5 items with examples
  • Size
  • Source code size: 3.17 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 317.18 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 2s Average build duration of successful builds.
  • all releases: 2s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • F000NKKK

Yog logging — lightweight logging macros with a consistent [yog] format.

The macros forward to [log], which does the formatting. Because they expand to a single call that only formats its arguments when actually invoked, there is no cost at a call site that is compiled out or behind a disabled level.

yog_logging::info!("loaded {} mods", 3);
yog_logging::warn!("slow tick: {}ms", 51);
yog_logging::error!("failed: {}", "boom");