pub(crate) fn append_window_audit_log_entry(entry: &Value)Expand description
Shared append-only NDJSON writer for both window-tool audit trails above
— best-effort (a logging failure must never break the tool itself),
inside capture_window_dir() itself since prune_old_captures’s
PNG-only extension filter already leaves a .log file in that same
directory untouched, so this doesn’t need (or want) its own directory.