SimpleSAML_Error_Exception::format PHP Method

format() public method

Create an array of lines for logging.
public format ( boolean $anonymize = false ) : array
$anonymize boolean Whether the resulting messages should be anonymized or not.
return array Log lines that should be written out.
    public function format($anonymize = false)
    {
        $ret = array($this->getClass() . ': ' . $this->getMessage());
        return array_merge($ret, $this->formatBacktrace($anonymize));
    }