Skip to content

Commit

Permalink
Use consistent parameter names.
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisHines committed Apr 18, 2015
1 parent 2366b88 commit eb1fea7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions log/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ type withLogger struct {
keyvals []interface{}
}

func (l *withLogger) Log(kvs ...interface{}) error {
return l.logger.Log(append(l.keyvals, kvs...)...)
func (l *withLogger) Log(keyvals ...interface{}) error {
return l.logger.Log(append(l.keyvals, keyvals...)...)
}

func (l *withLogger) With(keyvals ...interface{}) Logger {
Expand Down

0 comments on commit eb1fea7

Please sign in to comment.