chore(deduper): add compile check that slog.Handler int is satisfied

Signed-off-by: TJ Hoplock <t.hoplock@gmail.com>
pull/15407/head
TJ Hoplock 7 months ago
parent 101b1c307f
commit 16a4354b48
  1. 2
      util/logging/dedupe.go

@ -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…
Cancel
Save