src/Web/Result.php
public function toLogString()
    {
        $logParts = array();
        if ($this->getStatus() !== null) {
            $logParts[] = 'status=' . $this->getStatus();
        }
        if ($this->getRawRequest() !== null) {
            $logParts[] = 'request=' . $this->getRawRequest();
        }
        if ($this->getRawResponse() !== null) {
            $logParts[] = 'response=' . $this->getRawResponse();
        }
        if ($this->getException() !== null) {
            $logParts[] = $this->getException()->__toString();
        }
        return implode('; ', $logParts);
    }
public function toLogString()
    {
        $logParts = array();
        if ($this->getStatus() !== null) {
            $logParts[] = 'status=' . $this->getStatus();
        }
        if ($this->getRawRequest() !== null) {
            $logParts[] = 'request=' . $this->getRawRequest();
        }
        if ($this->getRawResponse() !== null) {
            $logParts[] = 'response=' . $this->getRawResponse();
        }
        if ($this->getException() !== null) {
            $logParts[] = $this->getException()->__toString();
        }
        return implode('; ', $logParts);
    }
public function toLogString ( ) { $ logParts = array ( ) ; if ( $ this -> getStatus ( ) !== null ) { $ logParts [ ] = 'status=' . $ this -> getStatus ( ) ; } if ( $ this -> getRawRequest ( ) !== null ) { $ logParts [ ] = 'request=' . $ this -> getRawRequest ( ) ; } if ( $ this -> getRawResponse ( ) !== null ) { $ logParts [ ] = 'response=' . $ this -> getRawResponse ( ) ; } if ( $ this -> getException ( ) !== null ) { $ logParts [ ] = $ this -> getException ( ) -> __toString ( ) ; } return implode ( '; ' , $ logParts ) ; }
Returns a string representation of the result object for logging purposes.

@return string
A string representation of the result object for logging purposes.
Returns a string representation of the result object for logging purposes .