Anchorage API reference
    Preparing search index...

    Configuration for AuditLogger.

    interface AuditLoggerOptions {
        maxBuffered?: number;
        onSinkError?: (error: unknown, event: AuditEvent) => void;
        sink?: AuditSink;
    }
    Index

    Properties

    maxBuffered?: number

    In-memory ring buffer capacity. Oldest events drop first.

    onSinkError?: (error: unknown, event: AuditEvent) => void

    Sink failures must not break the agent path; surface them here instead.

    sink?: AuditSink

    Optional external destination. The logger buffers records regardless.