protected function logResponse(Response $response)
    {
        $message = '< '.$response->getStatusCode();

        if ($response instanceof RedirectResponse) {
            $message .= ' '.$response->getTargetUrl();
        }

        $this->logger->log(LogLevel::DEBUG, $message);
    }
protected function logResponse(Response $response)
    {
        $message = '< '.$response->getStatusCode();

        if ($response instanceof RedirectResponse) {
            $message .= ' '.$response->getTargetUrl();
        }

        $this->logger->log(LogLevel::DEBUG, $message);
    }
protected function logResponse ( Response $ response ) { $ message = '< ' . $ response -> getStatusCode ( ) ; if ( $ response instanceof RedirectResponse ) { $ message .= ' ' . $ response -> getTargetUrl ( ) ; } $ this -> logger -> log ( LogLevel :: DEBUG , $ message ) ; }
Logs a response.

@param Response $response
Logs a response .