tokio-middleware icon indicating copy to clipboard operation
tokio-middleware copied to clipboard

Logging responses and errors

Open matt-williams opened this issue 8 years ago • 1 comments

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.

matt-williams avatar Jan 31 '17 07:01 matt-williams

👍 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.

carllerche avatar Feb 02 '17 22:02 carllerche