provides the functionality to log locally or log via online service
log http request, response, and get the logged messages