Skip to content

Commit

Permalink
Fix outdated comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomsonTan committed Nov 6, 2024
1 parent 7db1bd9 commit 9cc40c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opentelemetry-sdk/src/export/logs/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ pub trait LogExporter: Send + Sync + Debug {
true
}

/// This is a hint to ensure that the export of any Spans the exporter
/// This is a hint to ensure that the export of any Logs the exporter
/// has received prior to the call to this function SHOULD be completed
/// as soon as possible, preferably before returning from this method.
///
Expand All @@ -102,7 +102,7 @@ pub trait LogExporter: Send + Sync + Debug {
///
/// This function SHOULD only be called in cases where it is absolutely necessary,
/// such as when using some FaaS providers that may suspend the process after
/// an invocation, but before the exporter exports the completed spans.
/// an invocation, but before the exporter exports the completed logs.
///
/// This function SHOULD complete or abort within some timeout. This function can be
/// implemented as a blocking API or an asynchronous API which notifies the caller via
Expand Down

0 comments on commit 9cc40c1

Please sign in to comment.