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

Publish tracing-macros package? #2955

Open
joshka opened this issue Apr 26, 2024 · 0 comments
Open

Publish tracing-macros package? #2955

joshka opened this issue Apr 26, 2024 · 0 comments

Comments

@joshka
Copy link

joshka commented Apr 26, 2024

Feature Request

Crates

tracing-macros

Motivation

Hey there! Are there any plans to publish tracing_macros

In Ratatui docs, we're suggesting that users create a macro similar to the dbg! macro defined in https://github.com/tokio-rs/tracing/blob/master/tracing-macros/src/lib.rs. The person writing our docs for this suggested using trace_dbg! for the macro name instead of overriding the existing dbg! macro, but I can see the argument either way. It would be nice to have this macro available as something that can be included directly rather than written in each user's app for this however.

Proposal

Actually publish https://crates.io/crates/tracing_macros with the macros defined.

Alternatives

  • Continue to make users write similar implementations in their own app

From https://discord.com/channels/500028886025895936/974721015999516672/1224430040423334049

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

No branches or pull requests

1 participant