mirror of
https://github.com/prometheus/prometheus.git
synced 2026-05-28 04:02:21 -04: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
1 changed files with 2 additions and 0 deletions
|
|
@ -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