pub struct CapturedLog {
pub body: String,
pub level: Level,
pub target: String,
}
Expand description
A captured call to the logging system. A Vec
of these is passed
to the closure supplied to the validate()
function.
Fields§
§body: String
The formatted log message.
level: Level
The level.
target: String
The target.
Auto Trait Implementations§
impl Freeze for CapturedLog
impl RefUnwindSafe for CapturedLog
impl Send for CapturedLog
impl Sync for CapturedLog
impl Unpin for CapturedLog
impl UnwindSafe for CapturedLog
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