Struct opentelemetry::sdk::logs::BatchLogProcessor
source · pub struct BatchLogProcessor<R>where
R: RuntimeChannel<BatchMessage>,{ /* private fields */ }
Expand description
A LogProcessor
that asynchronously buffers log records and reports
them at a preconfigured interval.
Implementations§
source§impl<R> BatchLogProcessor<R>where
R: RuntimeChannel<BatchMessage>,
impl<R> BatchLogProcessor<R>where R: RuntimeChannel<BatchMessage>,
sourcepub fn builder<E>(exporter: E, runtime: R) -> BatchLogProcessorBuilder<E, R>where
E: LogExporter,
pub fn builder<E>(exporter: E, runtime: R) -> BatchLogProcessorBuilder<E, R>where E: LogExporter,
Create a new batch processor builder
Trait Implementations§
source§impl<R> Debug for BatchLogProcessor<R>where
R: RuntimeChannel<BatchMessage>,
impl<R> Debug for BatchLogProcessor<R>where R: RuntimeChannel<BatchMessage>,
source§impl<R> LogProcessor for BatchLogProcessor<R>where
R: RuntimeChannel<BatchMessage>,
impl<R> LogProcessor for BatchLogProcessor<R>where R: RuntimeChannel<BatchMessage>,
Auto Trait Implementations§
impl<R> RefUnwindSafe for BatchLogProcessor<R>where <R as RuntimeChannel<BatchMessage>>::Sender: RefUnwindSafe,
impl<R> Send for BatchLogProcessor<R>
impl<R> Sync for BatchLogProcessor<R>
impl<R> Unpin for BatchLogProcessor<R>where <R as RuntimeChannel<BatchMessage>>::Sender: Unpin,
impl<R> UnwindSafe for BatchLogProcessor<R>where <R as RuntimeChannel<BatchMessage>>::Sender: 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