tracing
tracing copied to clipboard
tracing-core: `Valuable` everywhere
Applies the approach described here. Namely, this PR replaces:
-
tracing::FieldSet
with&[valuable::NamedField<'static>]
-
tracing::Record
andtracing::ValueSet
withvaluable::NamedValues
-
tracing::Value
withvaluable::Valuable
I made a similar change in my branch but yours deletes more, so I think we should go with this. With the direction we're going in, the entire field.rs
is basically a wrapper for valuable
, so I agree with deleting it entirely.
If the tracing-core
tests pass, I think we should merge it and follow up with more PRs