Type Alias LogMessage
pub type LogMessage<'a> = LogMessage<'a, Transient>;Expand description
Log message with transient values (supports format_args!).
Aliased Type§
pub struct LogMessage<'a> {
pub time_unix_nano: u64,
pub severity: Severity,
pub body: &'a str,
pub attributes: &'a [KeyValue<'a, Transient>],
}Fields§
§time_unix_nano: u64Timestamp in nanoseconds since Unix epoch (or system start)
severity: SeverityThe severity level of this log message
body: &'a strThe message body
attributes: &'a [KeyValue<'a, Transient>]Key-value attributes providing additional context