Commit 166a127 1 parent df815bd commit 166a127 Copy full SHA for 166a127
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 17
17
` RwLock ` instead of ` Mutex ` to reduce contention
18
18
19
19
- ** Breaking** [ 1726] ( https://github.com/open-telemetry/opentelemetry-rust/pull/1726 )
20
- Update `LogProcessor::emit() method to take mutable reference to LogData. This is breaking
20
+ Update ` LogProcessor::emit() ` method to take mutable reference to LogData. This is breaking
21
21
change for LogProcessor developers. If the processor needs to invoke the exporter
22
22
asynchronously, it should clone the data to ensure it can be safely processed without
23
23
lifetime issues. Any changes made to the log data before cloning in this method will be
24
24
reflected in the next log processor in the chain, as well as to the exporter.
25
25
- ** Breaking** [ 1726] ( https://github.com/open-telemetry/opentelemetry-rust/pull/1726 )
26
- Update `LogExporter::export() method to accept a batch of log data, which can be either a
26
+ Update ` LogExporter::export() ` method to accept a batch of log data, which can be either a
27
27
reference or owned` LogData ` . If the exporter needs to process the log data
28
28
asynchronously, it should clone the log data to ensure it can be safely processed without
29
29
lifetime issues.
You can’t perform that action at this time.
0 commit comments