protected function _getSentryLevelFromLoggerPriority($priority){
		switch ($priority) {
			case self::EMERG:
			case self::ALERT:
			case self::CRIT:
				return amgSentry::FATAL;
			case self::ERR:
				return amgSentry::ERROR;
			case self::WARNING:
				return amgSentry::WARNING;
			case self::NOTICE:
			case self::INFO:
				return amgSentry::INFO;
			case self::DEBUG:
				return amgSentry::DEBUG;
		}

		throw new Exception(sprintf('Unknown priority "%s" in Sentry.', $priority));
	}
protected function _getSentryLevelFromLoggerPriority($priority){
		switch ($priority) {
			case self::EMERG:
			case self::ALERT:
			case self::CRIT:
				return amgSentry::FATAL;
			case self::ERR:
				return amgSentry::ERROR;
			case self::WARNING:
				return amgSentry::WARNING;
			case self::NOTICE:
			case self::INFO:
				return amgSentry::INFO;
			case self::DEBUG:
				return amgSentry::DEBUG;
		}

		throw new Exception(sprintf('Unknown priority "%s" in Sentry.', $priority));
	}
protected function _getSentryLevelFromLoggerPriority ( $ priority ) { switch ( $ priority ) { case self :: EMERG : case self :: ALERT : case self :: CRIT : return amgSentry :: FATAL ; case self :: ERR : return amgSentry :: ERROR ; case self :: WARNING : return amgSentry :: WARNING ; case self :: NOTICE : case self :: INFO : return amgSentry :: INFO ; case self :: DEBUG : return amgSentry :: DEBUG ; } throw new Exception ( sprintf ( 'Unknown priority "%s" in Sentry.' , $ priority ) ) ; }
Map symfony logger error priority to Sentry level.

@param integer $priority Logger priority

@return string Sentry level
Map symfony logger error priority to Sentry level .