yesodweb/wai — pull request #53 by gregwebs (2012-02-17 16:43:51+00:00)
Title: add ansi colors to connect a request & response

Opening this as a pull request in case someone doesn't like the idea of depending on ansi-terminal for some reason. However, In the future we should use more terminal colors as we add more things to the log.
Also this should be tested on Windows first. I think it may have no effect there the way it is currently used.

This pull request connects the request & response through terminal colors, in case multiple requests get intermingled (obviously shouldn't happen much in dev mode). The request is logged before the response so that you have that info if your app crashes.