Struct sentry_log::SentryLogger
source · [−]pub struct SentryLogger<L: Log> { /* private fields */ }
Expand description
Provides a dispatching logger.
Implementations
sourceimpl SentryLogger<NoopLogger>
impl SentryLogger<NoopLogger>
sourcepub fn new() -> Self
pub fn new() -> Self
Create a new SentryLogger with a NoopLogger
as destination.
Trait Implementations
sourceimpl Default for SentryLogger<NoopLogger>
impl Default for SentryLogger<NoopLogger>
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more