summaryrefslogtreecommitdiff
path: root/crates/tor-log-ratelim/src/macros.rs
Commit message (Collapse)AuthorAgeFilesLines
* ratelim: refactor to avoid unreachable codeNick Mathewson2023-11-161-3/+3
| | | | Add a note that this uglifies a hidden API slightly.
* log_ratelim: Make final semicolon optional.Nick Mathewson2023-11-161-4/+6
|
* New tor-log-ratelim crateNick Mathewson2023-11-161-0/+377
This crate is meant to provide rate-limited log messages to tell users about problems that can happen too frequently to log individually. This version is based off an earlier design, and off of conversations with @diziet. It still needs tests.