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
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
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
Logs the request on debug level.
Logs the request on debug level .