OpenTelemetry SDK
    Preparing search index...

    Class InMemoryLogRecordExporter

    This class can be used for testing purposes. It stores the exported LogRecords in a list in memory that can be retrieved using the getFinishedLogRecords() method.

    Implements

    Index
    _stopped: boolean

    Indicates if the exporter has been "shutdown." When false, exported log records will not be stored in-memory.

    • Finish all pending exports as soon as possible, preferably before resolving the promise returned.

      Returns Promise<void>

    • Returns void

    • Stops the exporter.

      Returns Promise<void>