public static function getPsrLevelFromCommon($level)
    {
        if (empty(self::$reverseMap[$level])) {
            throw new Exception('Invalid error level in PSR to Common level conversion: ' . $level);
        }

        return self::$reverseMap[$level];
    }
public static function getPsrLevelFromCommon($level)
    {
        if (empty(self::$reverseMap[$level])) {
            throw new Exception('Invalid error level in PSR to Common level conversion: ' . $level);
        }

        return self::$reverseMap[$level];
    }
public static function getPsrLevelFromCommon ( $ level ) { if ( empty ( self :: $ reverseMap [ $ level ] ) ) { throw new Exception ( 'Invalid error level in PSR to Common level conversion: ' . $ level ) ; } return self :: $ reverseMap [ $ level ] ; }
Returns the PSR log level based on the common log level.

@param string $level

@return string   The PSR log level.

@throws Exception   When invalid level was presented.
Returns the PSR log level based on the common log level .