summaryrefslogtreecommitdiffstats
path: root/common/loggers/ignorableLogger.go
diff options
context:
space:
mode:
Diffstat (limited to 'common/loggers/ignorableLogger.go')
-rw-r--r--common/loggers/ignorableLogger.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/loggers/ignorableLogger.go b/common/loggers/ignorableLogger.go
index 0a130900d..5040d1036 100644
--- a/common/loggers/ignorableLogger.go
+++ b/common/loggers/ignorableLogger.go
@@ -21,7 +21,7 @@ import (
// IgnorableLogger is a logger that ignores certain log statements.
type IgnorableLogger interface {
Logger
- Errorsf(statementID, format string, v ...interface{})
+ Errorsf(statementID, format string, v ...any)
Apply(logger Logger) IgnorableLogger
}
@@ -43,7 +43,7 @@ func NewIgnorableLogger(logger Logger, statements ...string) IgnorableLogger {
}
// Errorsf logs statementID as an ERROR if not configured as ignoreable.
-func (l ignorableLogger) Errorsf(statementID, format string, v ...interface{}) {
+func (l ignorableLogger) Errorsf(statementID, format string, v ...any) {
if l.statements[statementID] {
// Ignore.
return