slog
slog copied to clipboard
Sampling and deduping
A Go logging library, zap
has the ability to throttle duplicate output if the rate is too high: https://godoc.org/go.uber.org/zap#SamplingConfig
It's a quite good feature to have, both for not accidentally filling up the disk space (or forcing logrotate discarding data), and for making development easier.
That could totally be done. slog-dedup
crate sounds great. If anyone is interested, go for it!