Setu-TS
    Preparing search index...

    Class LogAuditStorage

    Logs audit records through an ILogger. When constructed without a logger and used as a storage backend, queries return empty arrays.

    At register time (LogAuditStorage construction with storage: 'log'), if no logger is available, throw the documented error.

    Implements

    • IAuditStorage
    Index
    • Lifecycle truth: the sink is the resolved ILogger, which is in-process, so reachability IS readiness. Where that logger's own transport goes is the logger's health to report, not this backend's.

      Returns Promise<boolean>

      true when a logger is configured

      0.6.0