make Logger an interface

This patch will allow customized logger to output the response log