pub type LogMessage = LogMessage<'static, Owned>;Expand description
Log message with owned values (Send-safe, for IPC).
Aliased Type§
pub struct LogMessage {
pub time_unix_nano: u64,
pub severity: Severity,
pub body: String,
pub attributes: Vec<KeyValue<'static, Owned>>,
}Fields§
§time_unix_nano: u64Timestamp in nanoseconds since Unix epoch (or system start)
severity: SeverityThe severity level of this log message
body: StringThe message body
attributes: Vec<KeyValue<'static, Owned>>Key-value attributes providing additional context
Trait Implementations§
Source§impl From<LogMessage<'_, Transient>> for LogMessage
impl From<LogMessage<'_, Transient>> for LogMessage
Source§fn from(value: LogMessage<'_>) -> Self
fn from(value: LogMessage<'_>) -> Self
Converts to this type from the input type.