code: def log_request(url, headers, body)
        logger = @api.logger
        logger.debug("Report request to: '%s'" % url)
        logger.debug('HTTP headers: [%s]' %
            (headers.map { |k, v| [k, v].join(': ') }.join(', ')))
        logger.debug(body)
      end
docs: Logs the request on debug level.