protected function getSeverityString()
    {
        static $error_types = array(
            E_WARNING => 'Warning',
            E_NOTICE => 'Notice',
            E_USER_ERROR => 'User Fatal Error',
            E_USER_WARNING => 'User Warning',
            E_USER_NOTICE => 'User Notice',
            E_STRICT => 'Forward Compatibility Notice'
        );

        $out = null;
        if (isset($error_types[$this->severity])) {
            $out = $error_types[$this->severity];
        }

        return $out;
    }