HardySimpson / zlog

A reliable, high-performance, thread safe, flexsible, clear-model, pure C logging library.
Apache License 2.0
2.25k stars 721 forks source link

Suppress duplicate messages #262

Open albayenes opened 3 months ago

albayenes commented 3 months ago

Hello,

Instead for instance to see the same error message 2000 times in the logfile, I would like to have a hint in the logfile that this error message was written x-times. Is there a way to suppress repetitive same messages in a log file?