Struct opentelemetry_sdk::logs::SimpleLogProcessor
source · pub struct SimpleLogProcessor { /* private fields */ }Available on crate feature
logs only.Expand description
A LogProcessor that exports synchronously when logs are emitted.
Examples
Note that the simple processor exports synchronously every time a log is emitted. If you find this limiting, consider the batch processor instead.
Trait Implementations§
source§impl Debug for SimpleLogProcessor
impl Debug for SimpleLogProcessor
source§impl LogProcessor for SimpleLogProcessor
impl LogProcessor for SimpleLogProcessor
source§fn force_flush(&self) -> LogResult<()>
fn force_flush(&self) -> LogResult<()>
Force the logs lying in the cache to be exported.
Auto Trait Implementations§
impl RefUnwindSafe for SimpleLogProcessor
impl Send for SimpleLogProcessor
impl Sync for SimpleLogProcessor
impl Unpin for SimpleLogProcessor
impl UnwindSafe for SimpleLogProcessor
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