pub fn record_event(
conn: &Connection,
entry_id: &str,
kind: &str,
at: &str,
source: &str,
detail: Value,
) -> Result<(), String>Expand description
Records one lifecycle event for an entry (a cutover, say). Public so the application layer can write events that no save diff would detect; the detail must carry no secret.