Extends log interface for custom request handling.

This helps with matching requests and responses and allows customization for data that is to be logged.