Struct env_filter::FilteredLog
source · pub struct FilteredLog<T> { /* private fields */ }
Expand description
Implementations§
Trait Implementations§
source§impl<T: Debug> Debug for FilteredLog<T>
impl<T: Debug> Debug for FilteredLog<T>
source§impl<T: Log> Log for FilteredLog<T>
impl<T: Log> Log for FilteredLog<T>
source§fn enabled(&self, metadata: &Metadata<'_>) -> bool
fn enabled(&self, metadata: &Metadata<'_>) -> bool
Determines if a log message with the specified metadata would be logged.
For the wrapped log, this returns true
only if both the filter and the wrapped log return true
.
Auto Trait Implementations§
impl<T> Freeze for FilteredLog<T>where
T: Freeze,
impl<T> RefUnwindSafe for FilteredLog<T>where
T: RefUnwindSafe,
impl<T> Send for FilteredLog<T>where
T: Send,
impl<T> Sync for FilteredLog<T>where
T: Sync,
impl<T> Unpin for FilteredLog<T>where
T: Unpin,
impl<T> UnwindSafe for FilteredLog<T>where
T: 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