pub struct Logger<P: Printer + Send + Sync> {
pub inner: P,
pub level: LevelFilter,
}Expand description
Simple Logger implementation
Fields§
§inner: PPrinter implementation
level: LevelFilterLog level
Trait Implementations§
Auto Trait Implementations§
impl<P> Freeze for Logger<P>where
P: Freeze,
impl<P> RefUnwindSafe for Logger<P>where
P: RefUnwindSafe,
impl<P> Send for Logger<P>
impl<P> Sync for Logger<P>
impl<P> Unpin for Logger<P>where
P: Unpin,
impl<P> UnwindSafe for Logger<P>where
P: 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