@grow-codes/datadog-logs - v0.1.1
    Preparing search index...

    Class MemoryLogExporter

    In-memory LogExporter: stores every exported record (round-tripped through the normalized JSON form, like a real wire) and can script failures.

    Implements

    Index
    batches: LogRecord[][] = []

    Every batch passed to export, as received.

    delayMs: number
    gzipFlags: boolean[] = []

    gzip flag of every export call.

    records: LogRecord[] = []

    Records accepted so far, in export order.

    shutdownCalls: number = 0
    • Makes the next export calls throw error (times calls, default 1).

      Parameters

      • error: unknown
      • times: number = 1

      Returns this