Audit event the approval service emits — structurally assignable to breakwater AuditLogger.record's argument, so wiring is one line: audit: (event) => auditLogger.record(event).
audit: (event) => auditLogger.record(event)
Dotted verb, e.g. 'approval.decide'.
Optional
What was acted on, e.g. 'approval:'.
Audit event the approval service emits — structurally assignable to breakwater AuditLogger.record's argument, so wiring is one line:
audit: (event) => auditLogger.record(event).