We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 814fafd commit dc0dce1Copy full SHA for dc0dce1
opentelemetry-sdk/src/logs/log_processor.rs
@@ -1318,11 +1318,11 @@ mod tests {
1318
1319
#[derive(Debug)]
1320
struct ThirdProcessor {
1321
- pub(crate) logs: Arc<Mutex<Vec<(LogRecord, InstrumentationLibrary)>>>,
+ pub(crate) logs: Arc<Mutex<Vec<(LogRecord, InstrumentationScope)>>>,
1322
}
1323
1324
impl LogProcessor for ThirdProcessor {
1325
- fn emit(&self, record: &mut LogRecord, instrumentation: &InstrumentationLibrary) {
+ fn emit(&self, record: &mut LogRecord, instrumentation: &InstrumentationScope) {
1326
assert!(record.attributes_contains(
1327
&Key::from_static_str("processed_by"),
1328
&AnyValue::String("SecondProcessor".into())
0 commit comments