Skip to content

Commit

Permalink
Update opentelemetry/src/logs/record.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
  • Loading branch information
lalitb and cijothomas authored May 7, 2024
1 parent 162d7b1 commit 0febbd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opentelemetry/src/logs/record.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use std::{borrow::Cow, collections::HashMap, time::SystemTime};
/// Abstract interface for managing log records. The implementation is provided by the SDK
/// Abstract interface for log records in an observability framework.
pub trait LogRecord {
/// Sets the creation timestamp.
/// Sets the time when the event occurred measured by the origin clock, i.e. the time at the source.
fn set_timestamp(&mut self, timestamp: SystemTime);

/// Sets the observed event timestamp.
Expand Down

0 comments on commit 0febbd8

Please sign in to comment.