pub struct ContextLogger<C>{
pub _phantom: PhantomData<C>,
/* private fields */
}
Expand description
A logger implementation that includes async context information in log messages
Fields§
§_phantom: PhantomData<C>
Phantom data to hold the context type parameter
Implementations§
Source§impl<C> ContextLogger<C>
impl<C> ContextLogger<C>
Trait Implementations§
Source§impl<C> Log for ContextLogger<C>
impl<C> Log for ContextLogger<C>
Auto Trait Implementations§
impl<C> Freeze for ContextLogger<C>
impl<C> RefUnwindSafe for ContextLogger<C>where
C: RefUnwindSafe,
impl<C> Send for ContextLogger<C>
impl<C> Sync for ContextLogger<C>
impl<C> Unpin for ContextLogger<C>where
C: Unpin,
impl<C> UnwindSafe for ContextLogger<C>where
C: 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