Write every trace to new line when using json transport
This commit is contained in:
parent
941a0f7153
commit
9efa495b0e
@ -36,6 +36,6 @@ func (jtt *jsonTracerTransport) Transport(evt TracerTransportEvent) error {
|
|||||||
return fmt.Errorf("error while marshaling event: %s", err)
|
return fmt.Errorf("error while marshaling event: %s", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
_, err = jtt.out.Write(jsonEvt)
|
_, err = jtt.out.WriteString(string(jsonEvt) + "\n")
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user