pub struct LogEntry {
pub id: u64,
pub level: LogLevel,
pub category: String,
pub message: String,
}Expand description
A single log entry.
Fields§
§id: u64Entry sequence number.
level: LogLevelSeverity level.
category: StringCategory tag (e.g. “render”, “physics”, “io”).
message: StringThe log message.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LogEntry
impl RefUnwindSafe for LogEntry
impl Send for LogEntry
impl Sync for LogEntry
impl Unpin for LogEntry
impl UnsafeUnpin for LogEntry
impl UnwindSafe for LogEntry
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