pub struct ConsoleLine {
pub text: String,
pub level: LogLevel,
pub timestamp: Duration,
pub count: u32,
pub source: Option<String>,
}Expand description
A single log entry.
Fields§
§text: String§level: LogLevel§timestamp: DurationWall-clock time when this entry was recorded (relative to engine start).
count: u32How many times this exact message was repeated (for deduplication).
source: Option<String>Source location tag (e.g. “render::pipeline”).
Implementations§
Trait Implementations§
Source§impl Clone for ConsoleLine
impl Clone for ConsoleLine
Source§fn clone(&self) -> ConsoleLine
fn clone(&self) -> ConsoleLine
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ConsoleLine
impl RefUnwindSafe for ConsoleLine
impl Send for ConsoleLine
impl Sync for ConsoleLine
impl Unpin for ConsoleLine
impl UnsafeUnpin for ConsoleLine
impl UnwindSafe for ConsoleLine
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