Routes the frozen record to logger[level]('audit', record).
The logger owns its own flush lifecycle; nothing to drain here.
Ready as long as a logger is configured.
The log sink is the durable trail; read-back happens through the logging
backend, not this object. Returns [].
Optional_criteria: AuditQuerySets the log level for emitting audit records.
Logs audit records through an
ILogger. When constructed without a logger and used as a storage backend, queries return empty arrays.At register time (
LogAuditStorageconstruction withstorage: 'log'), if no logger is available, throw the documented error.