Skip to content

Commit 9cc40c1

Browse files
committed
Fix outdated comments
1 parent 7db1bd9 commit 9cc40c1

File tree

1 file changed

+2
-2
lines changed
  • opentelemetry-sdk/src/export/logs

1 file changed

+2
-2
lines changed

opentelemetry-sdk/src/export/logs/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ pub trait LogExporter: Send + Sync + Debug {
9393
true
9494
}
9595

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

0 commit comments

Comments
 (0)