Skip to content

Commit

Permalink
fix: add comment (#1585)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaineK00n authored Jan 20, 2023
1 parent 2deb1b9 commit ff3b9cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions logging/logutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ff3b9cd

Please sign in to comment.