Skip to content

Commit

Permalink
Merge pull request #21 from BrendanGalloway/logrus-interface-base
Browse files Browse the repository at this point in the history
Fix Bug in logger argument passing
  • Loading branch information
moshloop authored Oct 15, 2020
2 parents afee3b1 + b25cf6a commit 0aa0c5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logger/default.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func IsDebugEnabled() bool {
}

func WithValues(keysAndValues ...interface{}) Logger {
return currentLogger.WithValues(keysAndValues)
return currentLogger.WithValues(keysAndValues...)
}

func StandardLogger() Logger {
Expand Down

0 comments on commit 0aa0c5a

Please sign in to comment.