From df93b499a46f953ffd2c1337f4852353894019d6 Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Sun, 12 Jun 2022 12:02:18 +0200 Subject: [PATCH] log the values that the limiter is initialized with --- limit.go | 1 + 1 file changed, 1 insertion(+) diff --git a/limit.go b/limit.go index 786611b..76075fe 100644 --- a/limit.go +++ b/limit.go @@ -70,6 +70,7 @@ type fixedLimiter struct { var _ Limiter = (*fixedLimiter)(nil) func NewFixedLimiter(conf LimitConfig) Limiter { + log.Debugw("initializing new limiter with config", "limits", conf) return &fixedLimiter{LimitConfig: conf} }