Skip to main content

append

Function append 

Source
pub fn append(path: &Path, record: &GateRecord) -> Result<()>
Expand description

Append one record to the log at path as a single JSONL line.

Creates parent directories as needed. The record plus trailing newline go out in one write call, so concurrent appenders on the same local log do not interleave within a line.