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

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

@return int
The MyWebShop equivalent of the severity.
Returns the MyWebShop equivalent of the severity .