pub fn batch<R: LogRuntime>(self, runtime: R) -> Result<sdk::log::LogEmitter, LogError> {
        Ok(build_batch_with_exporter(
            self.exporter_builder
                .ok_or(crate::Error::NoExporterBuilder)?
                .build_log_exporter()?,
            self.log_config,
            runtime,
        ))
    }
/// Returns a [`LogEmitter`] with the name `opentelemetry-otlp` and the
/// current crate version, using the configured log exporter and a
/// batch log processor.
///
/// [`LogEmitter`]: opentelemetry::log::LogEmitter
Returns a [`LogEmitter`] with the name `opentelemetry-otlp` and the
current crate version, using the configured log exporter and a
batch log processor.


Returns a [ ` LogEmitter ` ] with the name ` opentelemetry - otlp ` and the current crate version using the configured log exporter and a batch log processor .
pub fn batch<R: LogRuntime>(self, runtime: R) -> Result<sdk::log::LogEmitter, LogError> {
        Ok(build_batch_with_exporter(
            self.exporter_builder
                .ok_or(crate::Error::NoExporterBuilder)?
                .build_log_exporter()?,
            self.log_config,
            runtime,
        ))
    }
pub fn batch < R : LogRuntime > ( self , runtime : R ) -> Result < sdk :: log :: LogEmitter , LogError > { Ok ( build_batch_with_exporter ( self . exporter_builder . ok_or ( crate :: Error :: NoExporterBuilder ) ? . build_log_exporter ( ) ? , self . log_config , runtime , ) ) }
Returns a [`LogEmitter`] with the name `opentelemetry-otlp` and the
current crate version, using the configured log exporter and a
batch log processor.
Returns a [ ` LogEmitter ` ] with the name ` opentelemetry - otlp ` and the current crate version using the configured log exporter and a batch log processor .
self
runtime
R
self
runtime
R