Skip to main content

append

Function append 

Source
pub fn append(root: &Path, path: &Path, line: &str) -> Option<()>
Expand description

Append one serialized event or batch to path.

Returns None — never an error — when the tombstone is present, when the line would not fit in one atomic write, or when any filesystem step fails. Telemetry is fail-open by construction: it never returns an error to a caller and never blocks a turn, a tool, or process exit.