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

Constructors

Properties

_stopped: boolean

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

Methods

  • Returns void

  • Stops the exporter.

    Returns Promise<void>