pub struct LogRecord {
pub level: String,
pub target: String,
pub message: String,
pub fields: Vec<(String, String)>,
}Expand description
Structured log event for external sinks (Elasticsearch, …).
Fields§
§level: String§target: String§message: String§fields: Vec<(String, String)>Trait Implementations§
Auto Trait Implementations§
impl Freeze for LogRecord
impl RefUnwindSafe for LogRecord
impl Send for LogRecord
impl Sync for LogRecord
impl Unpin for LogRecord
impl UnsafeUnpin for LogRecord
impl UnwindSafe for LogRecord
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