Struct sentry_log::SentryLogger
source · pub struct SentryLogger<L: Log> { /* private fields */ }Expand description
Provides a dispatching logger.
Implementations§
source§impl SentryLogger<NoopLogger>
impl SentryLogger<NoopLogger>
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new SentryLogger with a NoopLogger as destination.
Trait Implementations§
source§impl Default for SentryLogger<NoopLogger>
impl Default for SentryLogger<NoopLogger>
source§impl<L: Log> Log for SentryLogger<L>
impl<L: Log> Log for SentryLogger<L>
Auto Trait Implementations§
impl<L> !RefUnwindSafe for SentryLogger<L>
impl<L> Send for SentryLogger<L>
impl<L> Sync for SentryLogger<L>
impl<L> Unpin for SentryLogger<L>where L: Unpin,
impl<L> !UnwindSafe for SentryLogger<L>
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