Open
Description
Feature Request
Crates
tracing
Motivation
In order to reduce churn throughout the ecosystem, we intend to synchronize the tokio
0.3 and tracing-core
0.2 releases. When we release tracing-core
0.2, updating tracing
to use the new tracing-core
will be a breaking change, so we should make other breaking API changes in tracing
at the same time.
This issue tracks breaking tracing
changes that we want to make in 0.2.
tracing-attributes
changes
- Make
instrument
fields opt-in rather than opt-out (instrument macro: omitself
by default #651, etc) - Replace empty field shorthand with local variable shorthand for consistency with function-like macros (needs issue)
tracing
main crate API changes
- Make
Entered
!Send
(tracing:Entered
guards should be!Send
#698) - Remove
Into<Option<Id>>
impl for by-valueSpan
s (fixes "Tried to clone Id(1), but no span exists with that ID" when setting parent span #688) - Remove legacy macro syntax (after deprecating it in a point release, see tracing: deprecate outdated macro syntax #674)
- Try to figure out more consistent macro syntax? (API inconsistency between event and span argument order #456)