pub struct LogTracer {
pub success_level: Level,
pub error_level: Level,
}Expand description
A PropertyTracer that logs when and where properties are found
Requires the log feature
Fields§
§success_level: Level§error_level: LevelImplementations§
Trait Implementations§
Source§impl PropertyTracer for LogTracer
impl PropertyTracer for LogTracer
fn on_found(&self, name: &str, value: &PropertyValue, context: DisplayContext)
fn on_error(&self, error: SearchError)
Auto Trait Implementations§
impl Freeze for LogTracer
impl RefUnwindSafe for LogTracer
impl Send for LogTracer
impl Sync for LogTracer
impl Unpin for LogTracer
impl UnwindSafe for LogTracer
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more