Setu-TS
    Preparing search index...

    Interface AuditStorageOptions

    Options passed to individual storage backends.

    interface AuditStorageOptions {
        client?: IAuditDbClient;
        level?: "error" | "warn" | "info";
        logger?: ILogger;
        path?: string;
        table?: string;
    }
    Index

    Injected database client for DatabaseAuditStorage.

    level?: "error" | "warn" | "info"

    Logger method to emit at ('info'/'warn'/'error'); default 'info'.

    logger?: ILogger

    Injected ILogger for LogAuditStorage; overrides ctx.logger.

    path?: string

    JSONL file path for FileAuditStorage; defaults to './audit.log'.

    table?: string

    Table name for DatabaseAuditStorage; defaults to 'audit_logs'.