pub struct LogEntry {
pub level: LogLevel,
pub target: &'static str,
pub message: String,
pub elapsed_us: Option<u64>,
}Expand description
A single log entry with optional timing data.
Fields§
§level: LogLevel§target: &'static strSubsystem that produced this entry (“tui”, “engine”, “image”, etc.).
message: String§elapsed_us: Option<u64>Optional elapsed time in microseconds for performance diagnostics.
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