pub struct LogEntry {
pub severity: LogSeverity,
pub message: String,
pub tag: EventTag,
pub at: SystemTime,
}Expand description
A log message with severity for display coloring.
Carries the wall-clock instant the entry was produced so the failure-dump path can surface time-of-arrival alongside the message — without it, “recent log messages” reads as an opaque list with no clue which lines came seconds vs. minutes apart, or which line was the one closest to the failure.
Fields§
§severity: LogSeverity§message: String§tag: EventTagProvenance tag — two orthogonal axes (see
nmbrs_runtime::observer::EventTag): the execution-
lifecycle boundary the entry attaches to (None =
in-flight) and its semantic category. Sinks derive their
presentation rules from the axes — e.g. the terminal sink
keeps PhaseStart-attached renders out of its scrollback
(the managed phase-history region shows them instead).
at: SystemTimeWall-clock at log-entry creation. The dump uses this directly; the live TUI ignores it (it has its own scroll-based ordering).
Trait Implementations§
Auto Trait Implementations§
impl Forget for LogEntry
impl Freeze for LogEntry
impl Move for LogEntry
impl RefUnwindSafe for LogEntry
impl Send for LogEntrywhere
RawVecInner: Send,
impl Sync for LogEntrywhere
RawVecInner: Sync,
impl Unpin for LogEntry
impl UnsafeUnpin for LogEntry
impl UnwindSafe for LogEntrywhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more