code: private function _writeRequestLog($method, $url, $headers, $body)
      {
          $logInfo = "\n$method: $url \n";
          echo $logInfo . $this->_writeHeadersAndBody($logInfo, $headers, $body);
      }
docs: /*
  Executes request logging