Closed hrmsk66 closed 11 months ago
Hi @oli-obk
Rebased to resolve conflicts and noticed my PR needed updates to align with the main branch. In the "concurrent span switching detection (8ccafe8)" commit by @ten3roberts, the steps for retrieving Span's Extensions seemed to have been simplified in the on_event
method.
https://github.com/davidbarsky/tracing-tree/blob/8aa51bc654f0c09389fd885ac7310a53ad207693/src/lib.rs#L476-L487
I've adjusted this PR accordingly in 4c66dca.
Thanks!
To address https://github.com/davidbarsky/tracing-tree/issues/67, add a new configuration option,
with_higher_precision
. When this option is enabled, the time is displayed with higher precision, including decimal points.with_higher_precision
as a configuration option.on_event
method to separate methods for code reusability[^1][^1]: If this PR looks good, I'd like to propose an implementation to address Issue 17 based on this as a foundation.
Example Output: With
higher_precision enabled
, the output will look like this.