Skip to content

Commit

Permalink
logging/logrus: fix set level
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasmacko committed Jul 6, 2017
1 parent df62330 commit 59076ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions logging/logrus/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,8 @@ func (ref *Logger) SetLevel(level logging.LogLevel) {
ref.std.Level = lg.FatalLevel
case logging.ErrorLevel:
ref.std.Level = lg.ErrorLevel
case logging.WarnLevel:
ref.std.Level = lg.WarnLevel
case logging.InfoLevel:
ref.std.Level = lg.InfoLevel
case logging.DebugLevel:
Expand Down

0 comments on commit 59076ad

Please sign in to comment.