write

Appends one event as a single JSON line. Requires writeHeader to have been called.