Forces to export all finished log records
Called when a LogRecord is emit
the ReadWriteLogRecord that just emitted.
OptionalcontextArg: ContextShuts down the processor. Called when SDK is shut down. This is an opportunity for processor to do any cleanup required.
Copies any
microsoft.gen_ai.main_agent.*attributes from the current span onto every emitted log record.