public function getLevelName()
    {
        switch ($this->getLevel()) {
            case self::LEVEL_INFO:
                return 'Info';

            case self::LEVEL_WARNING:
                return 'Warning';

            case self::LEVEL_ERROR:
                return 'Error';

            default:
                throw new \UnexpectedValueException('Level was set to ' . $this->getLevel());
        }
    }
public function getLevelName()
    {
        switch ($this->getLevel()) {
            case self::LEVEL_INFO:
                return 'Info';

            case self::LEVEL_WARNING:
                return 'Warning';

            case self::LEVEL_ERROR:
                return 'Error';

            default:
                throw new \UnexpectedValueException('Level was set to ' . $this->getLevel());
        }
    }
public function getLevelName ( ) { switch ( $ this -> getLevel ( ) ) { case self :: LEVEL_INFO : return 'Info' ; case self :: LEVEL_WARNING : return 'Warning' ; case self :: LEVEL_ERROR : return 'Error' ; default : throw new \ UnexpectedValueException ( 'Level was set to ' . $ this -> getLevel ( ) ) ; } }
Gets the Issues level as a string.
Gets the Issues level as a string .