pub fn append(path: &Path, entry: &Entry) -> Result<()>
Appends a usage entry as a single JSON line to path.
path
Creates parent directories if needed, and writes JSON plus newline in a single write_all.
write_all