Skip to main content

write_line

Function write_line 

Source
pub fn write_line(event: &Event) -> Result<String, WriteError>
Expand description

Serialize an Event to a TSJSON line with trailing newline.

Convenience wrapper around to_tsjson_line that appends \n.

ยงErrors

Same as to_tsjson_line.