fix: add comment (#1585)
This commit is contained in:
@@ -45,6 +45,7 @@ func NewNormalLogger() Logger {
|
||||
return Logger{Entry: logrus.Entry{Logger: logrus.New()}}
|
||||
}
|
||||
|
||||
// NewIODiscardLogger creates discard logger
|
||||
func NewIODiscardLogger() Logger {
|
||||
l := logrus.New()
|
||||
l.Out = io.Discard
|
||||
|
||||
Reference in New Issue
Block a user