pub struct BatchLogProcessorBuilder<E> { /* private fields */ }
Expand description
A builder for creating BatchLogProcessor
instances.
Implementations§
Source§impl<E> BatchLogProcessorBuilder<E>where
E: LogExporter + 'static,
impl<E> BatchLogProcessorBuilder<E>where
E: LogExporter + 'static,
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
pub fn build(self) -> BatchLogProcessor
Build a batch processor
Trait Implementations§
Auto Trait Implementations§
impl<E> Freeze for BatchLogProcessorBuilder<E>where
E: Freeze,
impl<E> RefUnwindSafe for BatchLogProcessorBuilder<E>where
E: RefUnwindSafe,
impl<E> Send for BatchLogProcessorBuilder<E>where
E: Send,
impl<E> Sync for BatchLogProcessorBuilder<E>where
E: Sync,
impl<E> Unpin for BatchLogProcessorBuilder<E>where
E: Unpin,
impl<E> UnwindSafe for BatchLogProcessorBuilder<E>where
E: 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