pub struct LogEntry {
pub timestamp: i64,
pub logger_name: String,
pub level: String,
pub message: String,
pub stack: Vec<String>,
pub mdc: Map<String, Value>,
pub extra: BTreeMap<String, Value>,
}Expand description
One item of GET /data/api/v1/logs — the shape of the live capture
(camelCase keys, serde-renamed). timestamp is epoch MILLISECONDS
and doubles as the tail cursor.
Fields§
§timestamp: i64Epoch MILLISECONDS — the tail cursor (startTime param).
logger_name: StringLogger name (loggerName on the wire), e.g.
"GatewayManager" or "Common.BasicExecutionEngine.Thread$".
level: String"TRACE" / "DEBUG" / "INFO" / "WARN" / "ERROR" /
"FATAL" (the wire keeps them uppercase).
message: StringThe rendered log message.
stack: Vec<String>Stack-trace lines when the entry carries a throwable (absent on
the wire for plain entries — default + skip keeps output clean).
mdc: Map<String, Value>Mapped diagnostic context, when present.
extra: BTreeMap<String, Value>Unknown keys round-trip (passthrough-shaped --json).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LogEntry
impl<'de> Deserialize<'de> for LogEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for LogEntry
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