You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//! run with `$ cargo run --example logs-basic-in-memory
1
+
//! run with `$ cargo run --example logs-basic`
2
2
3
3
/// This example shows how to use in_memory_exporter for logs. This uses opentelemetry-appender-log crate, which is a
4
4
/// [logging appender](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/glossary.md#log-appender--bridge) that bridges logs from the [log crate](https://docs.rs/log/latest/log/) to OpenTelemetry.
@@ -8,15 +8,15 @@ use log::{error, info, warn, Level};
8
8
use opentelemetry_appender_log::OpenTelemetryLogBridge;
9
9
use opentelemetry_sdk::logs::{BatchLogProcessor,LoggerProvider};
0 commit comments