Skip to content

Commit

Permalink
fix: log level for logrus wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
Crocmagnon authored and fsamin committed Mar 7, 2024
1 parent 9653f47 commit fd3fe4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ type LogrusWrapper struct {
}

func (l *LogrusWrapper) GetLevel() Level {
switch logrus.StandardLogger().Level {
switch l.entry.Logger.Level {
case logrus.DebugLevel:
return LevelDebug
case logrus.InfoLevel:
Expand Down

0 comments on commit fd3fe4c

Please sign in to comment.