Five point releases later, I am almost confident to say it's ready: a Bunyan formatter for @tokio_rs's tracing
It took me two days, a bunch of poisoned Mutexes and some head scratching, but it now works as expected
https://github.com/LukeMathWalker/tracing-bunyan-formatter …
The docs are indeed clear on the point, but my mental picture of Extensions was basically that of a HashMap with types as keys. Thus I intuitively expected the API to behave the same if that makes sense 
-
-
I didn't catch immediately because in sync code you generally enter a span only once. Then I plugged it into the actix_web app with tracing-futures and every integration test started to panic
I started to troubleshoot and I eventually found out with the docs and backtrack :) -
*backtrace
End of conversation
New conversation -
-
-
it should maybe be closer to HashMap's API. we thought the panics might help catch bugs to like the one you just described, but we'd consider changing it if it isn't useful
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
