summaryrefslogtreecommitdiff
path: root/modules/logging/nopencoder.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/logging/nopencoder.go')
-rw-r--r--modules/logging/nopencoder.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/logging/nopencoder.go b/modules/logging/nopencoder.go
index fc3d70d..62c1f78 100644
--- a/modules/logging/nopencoder.go
+++ b/modules/logging/nopencoder.go
@@ -95,7 +95,7 @@ func (nopEncoder) AddUint8(key string, value uint8) {}
func (nopEncoder) AddUintptr(key string, value uintptr) {}
// AddReflected is part of the zapcore.ObjectEncoder interface.
-func (nopEncoder) AddReflected(key string, value interface{}) error { return nil }
+func (nopEncoder) AddReflected(key string, value any) error { return nil }
// OpenNamespace is part of the zapcore.ObjectEncoder interface.
func (nopEncoder) OpenNamespace(key string) {}