Add support for request logging in captureMessage