This release adds configuration options to tracing_subscriber::fmt
to log
source code locations for events.
Added
- fmt: Added
with_file
andwith_line_number
configuration methods tofmt::Format
,fmt::SubscriberBuilder
, and
fmt::Layer
(#1773)
Fixed
- fmt: Removed incorrect leading comma from span fields with the
Pretty
formatter (#1833)
Deprecated
- fmt: Deprecated
Pretty::with_source_location
, as it can now be replaced
by the more generalFormat
,SubscriberBuilder
, andLayer
methods
(#1773)
Thanks to new contributor @renecouto for contributing to this release!