OpenTelemetry SDK
    Preparing search index...

    Class SimpleLogRecordProcessor

    An implementation of the LogRecordProcessor interface that exports each LogRecord as it is emitted.

    NOTE: This LogRecordProcessor exports every LogRecord individually instead of batching them together, which can cause significant performance overhead with most exporters. For production use, please consider using the BatchLogRecordProcessor instead.

    Implements

    Index
    • Parameters

      • options: SimpleLogRecordProcessorOptions

      Returns logs.SimpleLogRecordProcessor

    • Forces to export all finished log records

      Returns Promise<void>

    • Shuts down the processor. Called when SDK is shut down. This is an opportunity for processor to do any cleanup required.

      Returns Promise<void>