src/Neutrino/Error/Writer/Cli.php
protected function getColoration(Error $error)
    {
        if($error->isException){
            return 'error';
        }

        switch (Helper::getLogType($error->code)){
            case PhalconLogger::ALERT:
            case PhalconLogger::CRITICAL:
            case PhalconLogger::EMERGENCY:
            case PhalconLogger::ERROR:
                return 'error';
            case PhalconLogger::WARNING:
                return 'warn';
            case PhalconLogger::NOTICE:
                return 'notice';
            case PhalconLogger::INFO:
                return 'info';
            default:
                return 'error';
        }
    }
protected function getColoration(Error $error)
    {
        if($error->isException){
            return 'error';
        }

        switch (Helper::getLogType($error->code)){
            case PhalconLogger::ALERT:
            case PhalconLogger::CRITICAL:
            case PhalconLogger::EMERGENCY:
            case PhalconLogger::ERROR:
                return 'error';
            case PhalconLogger::WARNING:
                return 'warn';
            case PhalconLogger::NOTICE:
                return 'notice';
            case PhalconLogger::INFO:
                return 'info';
            default:
                return 'error';
        }
    }
@param \Neutrino\Error\Error $error

@return string