Skip to content

Commit

Permalink
fix: remove methods that are incompatible with the minimal version
Browse files Browse the repository at this point in the history
  • Loading branch information
ymgyt committed Aug 5, 2023
1 parent 3198cbf commit 262e15a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -415,10 +415,6 @@ impl<S> Layer<S> for MetricsLayer<S>
where
S: Subscriber + for<'span> LookupSpan<'span>,
{
fn on_register_dispatch(&self, collector: &tracing_core::Dispatch) {
self.inner.on_register_dispatch(collector)
}

fn on_layer(&mut self, subscriber: &mut S) {
self.inner.on_layer(subscriber)
}
Expand Down Expand Up @@ -462,10 +458,6 @@ where
self.inner.on_follows_from(span, follows, ctx)
}

fn event_enabled(&self, event: &tracing_core::Event<'_>, ctx: Context<'_, S>) -> bool {
self.inner.event_enabled(event, ctx)
}

fn on_event(&self, event: &tracing_core::Event<'_>, ctx: Context<'_, S>) {
self.inner.on_event(event, ctx)
}
Expand Down

0 comments on commit 262e15a

Please sign in to comment.