Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: v0.1.x
Choose a base branch
from

Conversation

Mododo
Copy link

@Mododo Mododo commented May 27, 2024

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

Copy link
Contributor

@kaffarell kaffarell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Maybe add this trailer to the commit:

Fixes: 45a5df13735e ("core: add a limited form of the linked-list callsite registry for v0.1.x (#2083)")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants