fix: add comment (#1585)

This commit is contained in:
MaineK00n
2023-01-20 18:01:10 +09:00
committed by GitHub
parent 2deb1b9d32
commit ff3b9cdc16

View File

@@ -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