public function getColour()
    {
        switch ($this->level) {
            case self::LEVEL_INFO:
                return 'cyan';

            case self::LEVEL_WARNING:
                return 'brown';

            case self::LEVEL_ERROR:
                return 'red';

            default:
                throw new \UnexpectedValueException('Could not get a colour. Level was set to ' . $this->getLevel());
        }
    }
public function getColour()
    {
        switch ($this->level) {
            case self::LEVEL_INFO:
                return 'cyan';

            case self::LEVEL_WARNING:
                return 'brown';

            case self::LEVEL_ERROR:
                return 'red';

            default:
                throw new \UnexpectedValueException('Could not get a colour. Level was set to ' . $this->getLevel());
        }
    }
public function getColour ( ) { switch ( $ this -> level ) { case self :: LEVEL_INFO : return 'cyan' ; case self :: LEVEL_WARNING : return 'brown' ; case self :: LEVEL_ERROR : return 'red' ; default : throw new \ UnexpectedValueException ( 'Could not get a colour. Level was set to ' . $ this -> getLevel ( ) ) ; } }
Gets the colour to use when echoing to the console.

@return string
Gets the colour to use when echoing to the console .