summaryrefslogtreecommitdiffhomepage
path: root/pkg/log/json.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/log/json.go')
-rw-r--r--pkg/log/json.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/log/json.go b/pkg/log/json.go
index a278c8fc8..0943db1cc 100644
--- a/pkg/log/json.go
+++ b/pkg/log/json.go
@@ -62,7 +62,7 @@ type JSONEmitter struct {
}
// Emit implements Emitter.Emit.
-func (e JSONEmitter) Emit(level Level, timestamp time.Time, format string, v ...interface{}) {
+func (e JSONEmitter) Emit(_ int, level Level, timestamp time.Time, format string, v ...interface{}) {
j := jsonLog{
Msg: fmt.Sprintf(format, v...),
Level: level,