aboutsummaryrefslogtreecommitdiff
path: root/middleware/log/log.go
diff options
context:
space:
mode:
Diffstat (limited to 'middleware/log/log.go')
-rw-r--r--middleware/log/log.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/middleware/log/log.go b/middleware/log/log.go
index 0a3cca130..e099eced7 100644
--- a/middleware/log/log.go
+++ b/middleware/log/log.go
@@ -64,6 +64,7 @@ func (l Logger) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg)
return l.Next.ServeDNS(ctx, w, r)
}
+// Name implements the Handler interface.
func (l Logger) Name() string { return "log" }
// Rule configures the logging middleware.