src/Joomla/Helpers/Log.php
protected function getJoomlaSeverity($severity)
    {
        switch ($severity) {
            case Log::Error:
                return JLog::ERROR;
            case Log::Warning:
                return JLog::WARNING;
            case Log::Notice:
                return JLog::NOTICE;
            case Log::Info:
                return JLog::INFO;
            case Log::Debug:
            default:
                return JLog::DEBUG;
        }
    }
protected function getJoomlaSeverity($severity)
    {
        switch ($severity) {
            case Log::Error:
                return JLog::ERROR;
            case Log::Warning:
                return JLog::WARNING;
            case Log::Notice:
                return JLog::NOTICE;
            case Log::Info:
                return JLog::INFO;
            case Log::Debug:
            default:
                return JLog::DEBUG;
        }
    }
protected function getJoomlaSeverity ( $ severity ) { switch ( $ severity ) { case Log :: Error : return JLog :: ERROR ; case Log :: Warning : return JLog :: WARNING ; case Log :: Notice : return JLog :: NOTICE ; case Log :: Info : return JLog :: INFO ; case Log :: Debug : default : return JLog :: DEBUG ; } }
Returns the joomla equivalent of the severity.

@param int $severity
One of the constants of the base Log class.

@return int
the Joomla equivalent of the severity.
Returns the joomla equivalent of the severity .