LogRecord#

pub struct LogRecord#

One log event. Integer timestamps are signed nanoseconds since the Unix epoch.

Fields#

pub timestamp_ns: i64#
pub message: String#
pub args: HashMap<String, String>#

Arguments belong to this event, not to a telemetry series.

Implementations#

impl LogRecord
pub fn new(timestamp_ns: i64, message: impl Into<String>, args: HashMap<String, String>) -> Self#

Trait implementations#

Derived: Clone, Debug, StructuralPartialEq, PartialEq, Eq

Auto traits: Send, Sync, Unpin, UnwindSafe, RefUnwindSafe