src/Helpers/Log.php
protected function getSeverityString($severity)
    {
        switch ($severity) {
            case Log::Error:
                return 'Error';
            case Log::Warning:
                return 'Warning';
            case Log::Notice:
                return 'Notice';
            case Log::Info:
                return 'Info';
            case Log::Debug:
            default:
                return 'Debug';
        }
    }
protected function getSeverityString($severity)
    {
        switch ($severity) {
            case Log::Error:
                return 'Error';
            case Log::Warning:
                return 'Warning';
            case Log::Notice:
                return 'Notice';
            case Log::Info:
                return 'Info';
            case Log::Debug:
            default:
                return 'Debug';
        }
    }
protected function getSeverityString ( $ severity ) { switch ( $ severity ) { case Log :: Error : return 'Error' ; case Log :: Warning : return 'Warning' ; case Log :: Notice : return 'Notice' ; case Log :: Info : return 'Info' ; case Log :: Debug : default : return 'Debug' ; } }
Returns a textual representation of the severity.

@param int $severity
One of the constants of this class.

@return string
A textual representation of the severity.
Returns a textual representation of the severity .