Struct opentelemetry_sdk::logs::BatchLogProcessorBuilder
source · pub struct BatchLogProcessorBuilder<E, R> { /* private fields */ }
Expand description
A builder for creating BatchLogProcessor
instances.
Implementations§
source§impl<E, R> BatchLogProcessorBuilder<E, R>where
E: LogExporter + 'static,
R: RuntimeChannel,
impl<E, R> BatchLogProcessorBuilder<E, R>where
E: LogExporter + 'static,
R: RuntimeChannel,
sourcepub fn with_batch_config(self, config: BatchConfig) -> Self
pub fn with_batch_config(self, config: BatchConfig) -> Self
Set the BatchConfig for BatchLogProcessorBuilder
sourcepub fn build(self) -> BatchLogProcessor<R>
pub fn build(self) -> BatchLogProcessor<R>
Build a batch processor
Trait Implementations§
Auto Trait Implementations§
impl<E, R> Freeze for BatchLogProcessorBuilder<E, R>
impl<E, R> RefUnwindSafe for BatchLogProcessorBuilder<E, R>where
E: RefUnwindSafe,
R: RefUnwindSafe,
impl<E, R> Send for BatchLogProcessorBuilder<E, R>
impl<E, R> Sync for BatchLogProcessorBuilder<E, R>
impl<E, R> Unpin for BatchLogProcessorBuilder<E, R>
impl<E, R> UnwindSafe for BatchLogProcessorBuilder<E, R>where
E: UnwindSafe,
R: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more