5 releases
0.2.3 | Aug 1, 2022 |
---|---|
0.2.2 | Jul 31, 2022 |
0.2.1 | Jul 31, 2022 |
0.2.0 | Jul 31, 2022 |
0.1.0 | Jul 30, 2022 |
#702 in Debugging
75 downloads per month
Used in 7 crates
27KB
389 lines
This crate provides a wrapper over log
crate that allows you
to specify the type of messages and automatically suppress
types of messages that are overwhelmingly sent.
Basic usage:
clilog::info!(I01TEST, "test message");
when message tagged I01TEST
is sent over 20 times, a tip will be
printed and further such messages will be suppressed.
At the end, you can optionally print a statistics of how many messages are suppressed. (TODO: not implemented yet.)
Dependencies
~0.9–8MB
~56K SLoC