Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
lbeschastny committed Jan 17, 2024
1 parent cb69433 commit ecf3ece
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ impl OtelFilter {

impl Default for OtelFilter {
fn default() -> Self {
Self { log_level: crate::otlp::read_log_level_from_env() }
Self::new(crate::otlp::read_log_level_from_env())
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use opentelemetry_sdk::{
resource::{OsResourceDetector, ResourceDetector},
Resource,
};
use tracing::{Subscriber, level_filters::LevelFilter};
use tracing::{level_filters::LevelFilter, Subscriber};
use tracing_subscriber::fmt::writer::MakeWriterExt;
use tracing_subscriber::{
fmt::format::FmtSpan, layer::SubscriberExt, registry::LookupSpan, Layer,
Expand Down

0 comments on commit ecf3ece

Please sign in to comment.