private function logRequest($url, $name, $headers, $body)
    {
        if ($this->logger) {
            $this->logger->debug('Request', array(
                'url' => $url,
                'name' => $name,
                'headers' => $headers,
                'body' => $body
            ));
        }
    }
private function logRequest($url, $name, $headers, $body)
    {
        if ($this->logger) {
            $this->logger->debug('Request', array(
                'url' => $url,
                'name' => $name,
                'headers' => $headers,
                'body' => $body
            ));
        }
    }
private function logRequest ( $ url , $ name , $ headers , $ body ) { if ( $ this -> logger ) { $ this -> logger -> debug ( 'Request' , array ( 'url' => $ url , 'name' => $ name , 'headers' => $ headers , 'body' => $ body ) ) ; } }
Logs the request details.

@param string $name The name of the operation.
@param string $url API endpoint.
@param array  $headers Associative array of HTTP headers.
@param string $body The XML body of the POST request.
Logs the request details .