tokio-rs / tracing

Application level tracing for Rust.
https://tracing.rs
MIT License
5.39k stars 707 forks source link

fix `Name / parent` variant of `event!()` #2983

Open Mododo opened 4 months ago

Mododo commented 4 months ago

I'm on tracing v0.1.40 and cannot use macro

tracing::event!(name: "name", parent: &span, Level::ERROR, "foo")

and its variants (debug!(), etc) due to error

no method named `is_enabled` found for struct `DefaultCallsite` in the current scope

Looks like it was just missed out by accident