core: Rework ValueSets to support indexing in addition to visiting #926
Labels
crate/core
Related to the `tracing-core` crate
meta/breaking
This is a breaking change, and should wait until the next breaking release.
needs/design
Additional design discussion is required.
Feature Request
Crates
Motivation
The current
tracing_core::field::ValueSet
requires users to implement a visitor to process and record Values. While this is performant, users have expressed confusion and occasional frustration with this requirement.Proposal
We should consider dispatching
Value
primitive values using an enum rather than a trait object in order to... (I'm not sure, @hawkw, can you add additional details?)The text was updated successfully, but these errors were encountered: