diff options
author | Adin Scannell <ascannell@google.com> | 2020-02-25 12:22:09 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-02-25 12:25:38 -0800 |
commit | 6def8ea6ac601daa9256a31f818db9f7eb532168 (patch) | |
tree | 0a1263e442b9a3216aa954ee55490cf1c053c461 /pkg/log/json_k8s.go | |
parent | 98b693e61b37a62f7b29ce1cab8b4c4c54fa044e (diff) |
Fix nested logging.
PiperOrigin-RevId: 297175316
Diffstat (limited to 'pkg/log/json_k8s.go')
-rw-r--r-- | pkg/log/json_k8s.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/log/json_k8s.go b/pkg/log/json_k8s.go index cee6eb514..6c6fc8b6f 100644 --- a/pkg/log/json_k8s.go +++ b/pkg/log/json_k8s.go @@ -33,7 +33,7 @@ type K8sJSONEmitter struct { } // 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, |