log-debounce 0.1.0

Debounced logging macros for the log crate
Documentation
  • Coverage
  • 100%
    11 out of 11 items documented11 out of 11 items with examples
  • Size
  • Source code size: 12.6 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 93.5 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 5s Average build duration of successful builds.
  • all releases: 5s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • glapa-grossklag/log-debounce
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • glapa-grossklag

log-debounce

Debounced logging macros for the log crate.

Usage

use log_debounce::{info_debounce, warn_once};
use std::time::Duration;

# let salinity = 35.2;
info_debounce!(Duration::from_secs(60), "Measured current salinity as {:.1} ppt", salinity);

warn_once!("Salinometer disconnected, no measurements are available");