LogMessage

Type Alias LogMessage 

pub type LogMessage = LogMessage<'static, Owned>;
Available on crate feature alloc only.
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: u64

Timestamp in nanoseconds since Unix epoch (or system start)

§severity: Severity

The severity level of this log message

§body: String

The message body

§attributes: Vec<KeyValue<'static, Owned>>

Key-value attributes providing additional context