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
let span = tracing::info_span!("parent");
tracing::event!(name: "name", parent: &span, tracing::Level::ERROR, "foo");
and its variants (debug!(), etc) due to error
error[E0599]: no method named `is_enabled` found for struct `DefaultCallsite` in the current scope
|
| tracing::event!(name: "name", parent: &span, tracing::Level::ERROR, "foo");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `DefaultCallsite`
|
= note: this error originates in the macro `$crate::event` which comes from the expansion of the macro `tracing::event` (in Nightly builds, run with -Z macro-backtrace for more info)
error: could not compile ...
Looks like it was missed out by accident.
Pull request with fix: #2983
The text was updated successfully, but these errors were encountered:
Bug Report
Version
tracing 0.1.40
Platform
Fedora Linux 40, all affected
Crates
tracing
Description
I'm unable to use this form of
event!()
macro:and its variants (
debug!()
, etc) due to errorLooks like it was missed out by accident.
Pull request with fix: #2983
The text was updated successfully, but these errors were encountered: