createJsonlAuditLog
function createJsonlAuditLog(writer: JsonlWriter): MftAuditLog;Defined in: src/mft/audit.ts:88
Creates an audit log that streams records as newline-delimited JSON.
list() is not supported by the JSONL writer because the durable form is
append-only on disk. Callers that need to read back entries should pair the
JSONL log with an InMemoryAuditLog via composeAuditLogs.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
writer | JsonlWriter | Sink that receives one JSON line per record. |
Returns
Section titled “Returns”A log that writes JSONL on every record call.