File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1717 ` RwLock ` instead of ` Mutex ` to reduce contention
1818
1919- ** 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
2121 change for LogProcessor developers. If the processor needs to invoke the exporter
2222 asynchronously, it should clone the data to ensure it can be safely processed without
2323 lifetime issues. Any changes made to the log data before cloning in this method will be
2424 reflected in the next log processor in the chain, as well as to the exporter.
2525- ** 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
2727 reference or owned` LogData ` . If the exporter needs to process the log data
2828 asynchronously, it should clone the log data to ensure it can be safely processed without
2929 lifetime issues.
You can’t perform that action at this time.
0 commit comments