Contao\CoreBundle\Monolog\ContaoContext::__toString PHP 메소드

__toString() 공개 메소드

Returns a JSON representation of the object.
public __toString ( ) : string
리턴 string
    public function __toString()
    {
        return json_encode(['func' => $this->func, 'action' => $this->action, 'username' => $this->username, 'ip' => $this->ip, 'browser' => $this->browser]);
    }