setFallbackExporter method
Sets the fallback exporter to use.
Call this to configure a ConsoleExporter to be used when OTLP fails. The exporter will receive all failed telemetry data.
Implementation
void setFallbackExporter(ConsoleExporter exporter) {
_updateExporterIfNeeded(exporter);
}