Struct opentelemetry_sdk::logs::BatchLogProcessor
source · pub struct BatchLogProcessor<R: RuntimeChannel> { /* private fields */ }
Available on crate feature
logs
only.Expand description
A LogProcessor
that asynchronously buffers log records and reports
them at a pre-configured interval.
Implementations§
source§impl<R: RuntimeChannel> BatchLogProcessor<R>
impl<R: RuntimeChannel> BatchLogProcessor<R>
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: RuntimeChannel> Debug for BatchLogProcessor<R>
impl<R: RuntimeChannel> Debug for BatchLogProcessor<R>
source§impl<R: RuntimeChannel> LogProcessor for BatchLogProcessor<R>
impl<R: RuntimeChannel> LogProcessor for BatchLogProcessor<R>
Auto Trait Implementations§
impl<R> RefUnwindSafe for BatchLogProcessor<R>
impl<R> Send for BatchLogProcessor<R>
impl<R> Sync for BatchLogProcessor<R>
impl<R> Unpin for BatchLogProcessor<R>
impl<R> UnwindSafe for BatchLogProcessor<R>
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