diff options
Diffstat (limited to 'pkg/log/json_k8s.go')
-rw-r--r-- | pkg/log/json_k8s.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/log/json_k8s.go b/pkg/log/json_k8s.go index c2c019915..5883e95e1 100644 --- a/pkg/log/json_k8s.go +++ b/pkg/log/json_k8s.go @@ -29,11 +29,11 @@ type k8sJSONLog struct { // K8sJSONEmitter logs messages in json format that is compatible with // Kubernetes fluent configuration. type K8sJSONEmitter struct { - Writer + *Writer } // Emit implements Emitter.Emit. -func (e K8sJSONEmitter) Emit(level Level, timestamp time.Time, format string, v ...interface{}) { +func (e K8sJSONEmitter) Emit(_ int, level Level, timestamp time.Time, format string, v ...interface{}) { j := k8sJSONLog{ Log: fmt.Sprintf(format, v...), Level: level, |