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 0943db1cc..bdf9d691e 100644
--- a/pkg/log/json.go
+++ b/pkg/log/json.go
@@ -58,7 +58,7 @@ func (lv *Level) UnmarshalJSON(b []byte) error {
// JSONEmitter logs messages in json format.
type JSONEmitter struct {
- Writer
+ *Writer
}
// Emit implements Emitter.Emit.