diff options
Diffstat (limited to 'common/loggers/logger.go')
-rw-r--r-- | common/loggers/logger.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/loggers/logger.go b/common/loggers/logger.go index 5b49e2b17..4e2f3ab21 100644 --- a/common/loggers/logger.go +++ b/common/loggers/logger.go @@ -110,7 +110,7 @@ func New(opts Options) Logger { logHandler = newStopHandler(logOnce, logHandler) } - if opts.SuppressStatements != nil && len(opts.SuppressStatements) > 0 { + if len(opts.SuppressStatements) > 0 { logHandler = newStopHandler(newSuppressStatementsHandler(opts.SuppressStatements), logHandler) } |