Skip to main content

build_bulk_body

Function build_bulk_body 

Source
fn build_bulk_body(entries: &[Value]) -> Bytes
Expand description

Serializes a batch as newline-delimited JSON, the format the Loggly bulk endpoint expects. Factored out for unit testing.