OptionalclearClear all entries.
Implemented by in-memory sinks; write-only sinks omit this.
The authorization parameter may be provided by callers; validation is
the responsibility of the calling context (typically AuditLogger).
Optionalauthorization: stringOptionalqueryQuery entries matching a filter. Implemented by in-memory sinks; write-only sinks omit this.
Pluggable audit sink interface.
Implement this to create custom log destinations (files, SIEM, syslog …).
Example