tracing: prepare to release 0.1.18 #873
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixed
LevelFilter::OFF
(and thus also thestatic_max_level_off
feature flag) would enable all traces,rather than none (core: add faster fast path for level filtering #853)
tracing
macros andSpan
s not checkinglog::max_level
before emittinglog
records (tracing: make the "log" feature honorlog
's max level #870)Changed
(
LevelFilter::current
) before the per-callsite cache whendetermining if a span or event is enabled. This significantly improves
performance in some use cases (core: add faster fast path for level filtering #853)
significantly, which may improve compile times and/or
rustc
optimizatation of surrounding code (tracing: move macro callsite impls out of macro expansion #869, tracing: move macro callsite impls out of macro expansion #869)
runtime filtering, improving performance when a span or event is
disabled by a
static_max_level_XXX
feature flag (tracing: removedispatcher::has_been_set
check in macros #868)LevelFilter
is now a re-export of thetracing_core::LevelFilter
type, it can now be used interchangably with the versions in
tracing-core
andtracing-subscriber
(core: add faster fast path for level filtering #853)LevelFilter
s andLevel
s (core: add faster fast path for level filtering #853)tracing-core
dependency to 0.1.12 (core: add faster fast path for level filtering #853)Added
allow fields whose names are not valid Rust identifiers (Support literals for field names. #790)
experimental-tracing
#857, readme: Add tracing-wasm to "Related Crates" #841)LevelFilter::current()
function, which returns the highest levelthat any subscriber will enable (core: add faster fast path for level filtering #853)
Subscriber::max_level_hint
optional trait method, for setting thevalue returned by
LevelFilter::current()
(core: add faster fast path for level filtering #853)Thanks to new contributors @cuviper, @ethanboxx, @ben0x539, @dignati,
@colelawrence, and @rbtcollins for helping out with this release!
Signed-off-by: Eliza Weisman eliza@buoyant.io