Forces to export all finished log records
Called when a LogRecord is emit
the ReadWriteLogRecord that just emitted.
Optional_context: @opentelemetry/api.Contextthe current Context, or an empty Context if the Logger was obtained with include_trace_context=false
Shuts down the processor. Called when SDK is shut down. This is an opportunity for processor to do any cleanup required.
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.