The BatchLogProcessor collects finished logs in a buffer and exports them
in batches to the configured LogExporter. This processor is ideal for
high-throughput environments, as it minimizes the overhead of exporting logs
individually. It uses a dedicated background thread to manage and export logs
asynchronously, ensuring that the application’s main execution flow is not blocked.
A LogProcessor designed for testing and debugging purpose, that immediately
exports log records as they are emitted. Log records are exported synchronously
in the same thread that emits the log record.
When using this processor with the OTLP Exporter, the following exporter
features are supported: