Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
Signed-off-by: Eliza Weisman <eliza@buoyant.io>
  • Loading branch information
hawkw committed Jan 7, 2021
1 parent 3e2ee68 commit 6b44d9c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tracing/src/span.rs
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@ impl Span {
inner.collector.enter(&inner.id);
}

if_log_enabled! { *meta.level(), {
if_log_enabled! { crate::Level::TRACE, {
if let Some(ref meta) = self.meta {
self.log(ACTIVITY_LOG_TARGET, log::Level::Trace, format_args!("-> {}", meta.name()));
}
Expand Down Expand Up @@ -1149,7 +1149,7 @@ impl Drop for Span {
}

if let Some(ref _meta) = self.meta {
if_log_enabled! { Level::TRACE, {
if_log_enabled! { crate::Level::TRACE, {
self.log(
LIFECYCLE_LOG_TARGET,
log::Level::Trace,
Expand Down Expand Up @@ -1252,7 +1252,7 @@ impl<'a> Drop for Entered<'a> {
}

if let Some(ref _meta) = self.span.meta {
if_log_enabled! { Level::TRACE, {
if_log_enabled! { crate::Level::TRACE, {
self.span.log(ACTIVITY_LOG_TARGET, log::Level::Trace, format_args!("<- {}", _meta.name()));
}}
}
Expand Down

0 comments on commit 6b44d9c

Please sign in to comment.