pub async fn log(
actor_user_id: i64,
action: &str,
model: &str,
object_id: Option<String>,
diff_summary: &str,
)Expand description
Append one audit entry. Fire-and-forget: errors are logged but never surfaced to the caller, so a CRUD handler that succeeds at its real work isn’t undone by an audit-write hiccup.