Repository navigation
Misc logging improvements for easier test debugging - #916
nothingmuch wants to merge 3 commits into
Conversation
I agree that a feature‑gated approach for |
Thank you for sharing this :) |
Pull Request Test Coverage Report for Build 17332637468Details
💛 - Coveralls |
TODO: - add meaningful spans
6f76663 to
1e6282a
Compare
|
updated post #1020 merge, these changes should probably be incorporated into #950 to minimize conflicts with tracing in use, i think we can also be more mindful of log spans, and enabling |
|
largely superseded by #911 |
cc @0xZaddyy, since you wanted to work on logging related changes, here are a few commits i found useful while testing for your consideration
note that this is incomplete, but does demonstrate some of the benefits to focusing on the tracing crate if we really want to switch to the tracing crate throughout (i am in favor)
IMO payjoin crate can have a
tracingfeature that just importstracing::${foo}if enabled orlog::${foo}if disabled in case people want to opt out of using the tracing crate, this is a bit nicer than shoehorning the stdlog subscriber into the tracing crate (#584)see also #509