local_inner_macros with $crate:: (#740)Thanks to @bnjjj, @blaenk, and @LukeMathWalker for contributing to this release!
log compatibility feature alongside a tracing Subscriber, log records for spans now include span IDs (#613)#[instrument] on methods that are part of async-trait trait implementations (#711)#[instrument(err)] argument to automatically emit an event if an instrumented function returns Err (#637)#[must_use] attribute to the guard returned by subscriber::set_default (#685)log records emitted by spans much less noisy when span IDs are not available (#613)Thanks to @FintanH, @shepmaster, @inanna-malick, @zekisharif, @bkchr, @majecty, @ilana and @nightmared for contributing to this release!
field::Empty type for declaring empty fields whose values will be recorded later (#548)field::Value implementations for Wrapping and NonZero* numbers (#538)#[instrument] (#569)#[instrument] now emits a helpful compiler error when attempting to skip a function parameter (#600)#[instrument] attribute was placed under an on-by-default feature flag “attributes” (#603)Thanks to @oli-cosmian and @Kobzol for contributing to this release!
Span::with_subscriber method to access the subscriber that tracks a Span (#503)Span::is_none method (#475)LevelFilter::into_level method (#470)LevelFilter::from_level function and From<Level> impl (#471)Span::follows_from that made it impossible to call (#467)log records generated when enabling the log feature flag (#484)#[instrument]ed functions (#397)self parameters when #[instrument]ing methods (#397)skip argument to #[instrument] for excluding function parameters from generated spans (#359)dispatcher::set_default and subscriber::set_default APIs, which return a drop guard (#388)#[instrument]ed async functions not compiling on nightly-2019-09-11 or newer (#342)Subscriber is not in use (#326)log feature will now only cause tracing spans and events to emit log records when a Subscriber is not in use (#346)#[instrument] (#330)log-always feature flag to emit log records even when a Subscriber is set (#346)ansi_term and humantime crates, which were used only for examples (#316)log feature flag is enabled (#304)std::error::Error as a new primitive type (#277)format_args messages without curly braces as delimiters (#288)tracing-core dependency to 0.1.5 (#294)tracing-attributes dependency to 0.1.2 (#297)no-std + liballoc (#263)#[instrument] attribute on async fns no longer requires a feature flag (#258)#[instrument] macro now works on generic functions (#262)#[instrument] attribute for automatically adding spans to functions (#253)log feature flag is enabled (#180).tracing-core minimum dependency version to 0.1.2 (#174).tracing-core APIs (#174).Span::none() constructor, which does not require metadata and returns a completely empty span (#147).Span::current() function, returning the current span if it is known to the subscriber (#148).tracing:: (#152).cfg_if dependency to 0.1.9.log feature is enabled (#131).