mirror of
https://github.com/prometheus/prometheus.git
synced 2025-02-21 03:16:00 -08:00
chore(deduper): add compile check that slog.Handler int is satisfied
Signed-off-by: TJ Hoplock <t.hoplock@gmail.com>
This commit is contained in:
parent
101b1c307f
commit
16a4354b48
|
@ -26,6 +26,8 @@ const (
|
|||
maxEntries = 1024
|
||||
)
|
||||
|
||||
var _ slog.Handler = (*Deduper)(nil)
|
||||
|
||||
// Deduper implements *slog.Handler, dedupes log lines based on a time duration.
|
||||
type Deduper struct {
|
||||
next *slog.Logger
|
||||
|
|
Loading…
Reference in a new issue