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
        );
    }