Trait opentelemetry::sdk::export::logs::LogExporter
source · pub trait LogExporter: Send + Debug {
// Required method
fn export<'life0, 'async_trait>(
&'life0 mut self,
batch: Vec<LogData>
) -> Pin<Box<dyn Future<Output = Result<(), LogError>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
// Provided method
fn shutdown(&mut self) { ... }
}
Expand description
LogExporter
defines the interface that log exporters should implement.