src/Google/AdsApi/Common/SoapLogMessageFormatter.php
public function formatDetailed(
        $requestHeaders,
        $request,
        $responseHeaders,
        $response
    ) {
        $requestHeaders = LogMessageScrubbers::scrubRequestHttpHeaders(
            trim($requestHeaders),
            $this->requestHttpHeadersToScrub
        );
        $request = LogMessageScrubbers::scrubRequestSoapHeaders(
            $request,
            $this->requestSoapHeadersToScrub
        );
        $request = LogMessageScrubbers::scrubRequestSoapBodyTags(
            $request,
            $this->requestSoapBodyTagsToScrub
        );
        $responseHeaders = trim($responseHeaders);

        return sprintf(
            "%s\n\n%s\n%s\n\n%s\n",
            $requestHeaders,
            $request,
            $responseHeaders,
            $response
        );
    }
public function formatDetailed(
        $requestHeaders,
        $request,
        $responseHeaders,
        $response
    ) {
        $requestHeaders = LogMessageScrubbers::scrubRequestHttpHeaders(
            trim($requestHeaders),
            $this->requestHttpHeadersToScrub
        );
        $request = LogMessageScrubbers::scrubRequestSoapHeaders(
            $request,
            $this->requestSoapHeadersToScrub
        );
        $request = LogMessageScrubbers::scrubRequestSoapBodyTags(
            $request,
            $this->requestSoapBodyTagsToScrub
        );
        $responseHeaders = trim($responseHeaders);

        return sprintf(
            "%s\n\n%s\n%s\n\n%s\n",
            $requestHeaders,
            $request,
            $responseHeaders,
            $response
        );
    }
public function formatDetailed ( $ requestHeaders , $ request , $ responseHeaders , $ response ) { $ requestHeaders = LogMessageScrubbers :: scrubRequestHttpHeaders ( trim ( $ requestHeaders ) , $ this -> requestHttpHeadersToScrub ) ; $ request = LogMessageScrubbers :: scrubRequestSoapHeaders ( $ request , $ this -> requestSoapHeadersToScrub ) ; $ request = LogMessageScrubbers :: scrubRequestSoapBodyTags ( $ request , $ this -> requestSoapBodyTagsToScrub ) ; $ responseHeaders = trim ( $ responseHeaders ) ; return sprintf ( "%s\n\n%s\n%s\n\n%s\n" , $ requestHeaders , $ request , $ responseHeaders , $ response ) ; }
Formats this log message as a detailed message containing full SOAP XML
request and response payloads, along with their HTTP headers.

@param string $requestHeaders the HTTP headers from the request
@param string $request the SOAP request
@param string $responseHeaders the HTTP headers from the response
@param string $response the SOAP response for the request
@return string the formatted detailed log message
Formats this log message as a detailed message containing full SOAP XML request and response payloads along with their HTTP headers .