Super excited for this to exist! -- been quietly hacking on this since, I think, 2018? Was looking for a way to bring Node.js's async-hooks model to Rust, but using the already established infrastructure provided by `log`. Super happy with the way it's turned out!
-
-
Show this thread
-
-
Oh probably another thing that's worth mentioning: tracing individual functions becomes really easy with the `#[instrument]` attribute. This will print the filename, method name, and arguments on each call. And will create a matching entry when done. Works with async fns too!pic.twitter.com/PF4cjCml8c
Show this thread
End of conversation
New conversation -
-
-
I love that you used your cats for the example
-
Me too! I'm away from my cats right now, and like, I miss them.
End of conversation
New conversation -
-
-
Is part of it a joint effort with tracing?
-
It isn't -- though the two projects seem to share similar goals, we have quite different philosophies. And I think that's okay! I'm quite excited to see different approaches co-exist in the same problem space; I def think we can learn from each other!https://twitter.com/yoshuawuyts/status/1144756540995506176 …
End of conversation
New conversation -
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.