pub struct EventLog {
pub level: Level,
pub message: String,
pub fields: HashMap<&'static str, String>,
}
Expand description
Captured log event
Fields§
§level: Level
Log Level
message: String
Emitted message from log event
fields: HashMap<&'static str, String>
Emitted fields from log event
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EventLog
impl RefUnwindSafe for EventLog
impl Send for EventLog
impl Sync for EventLog
impl Unpin for EventLog
impl UnwindSafe for EventLog
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