pub struct CapturedLog {
pub body: String,
pub level: Level,
pub target: String,
}Expand description
A log that was captured
Fields§
§body: StringThe formatted log message.
level: LevelThe level.
target: StringThe target.
Trait Implementations§
Source§impl Debug for CapturedLog
impl Debug for CapturedLog
Source§impl Display for CapturedLog
impl Display for CapturedLog
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