Trevixal API
    Preparing search index...
    interface AuditLogOptions {
        author: () => string;
        entries?: readonly AuditEntry[];
        now?: () => number;
        onChange?: (entries: readonly AuditEntry[]) => void;
    }
    Index
    author: () => string

    Who is editing: asked at each edit, so a change of name takes effect.

    entries?: readonly AuditEntry[]

    The entries so far, when the log is carried over from before.

    now?: () => number

    The clock; Date.now by default.

    onChange?: (entries: readonly AuditEntry[]) => void

    Told whenever the entries change, to keep them.