Implements

Constructors

Methods

  • Forces to export all finished log records

    Returns Promise<void>

  • Called when a LogRecord is emit

    Parameters

    • _logRecord: logs.ReadableLogRecord

      the ReadWriteLogRecord that just emitted.

    • _context: Context

      the current Context, or an empty Context if the Logger was obtained with include_trace_context=false

    Returns 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>