tokio-middleware
tokio-middleware copied to clipboard
Logging responses and errors
Log
is very useful for logging requests, but it would be even more useful if it logged responses and errors too.
I've enhanced Log
to do this on my fork (at https://github.com/matt-williams/tokio-middleware/commit/e84204333896acef991741e50b233707ef8ae49e).
Would you be interested in taking this upstream? I'm happy to submit a pull request if so - please let me know.
👍 Probably will at some point. This repo is somewhat on hold due to most of the focus happening lower in the stack & a lack of time :) We will get back to more middleware soon though.