src/Output/LogCheckOutput.php
protected function getLogLevel($outcomeLevel)
    {
        switch ($outcomeLevel) {
            case CheckOutcome::OK:
                return LogLevel::INFO;
            case CheckOutcome::NOTICE:
                return LogLevel::NOTICE;
            case CheckOutcome::WARNING:
                return LogLevel::WARNING;
            case CheckOutcome::ERROR:
                return LogLevel::ERROR;
            case CheckOutcome::EXCEPTION:
                return LogLevel::ERROR;
            default:
                return LogLevel::ERROR;
        }
    }
protected function getLogLevel($outcomeLevel)
    {
        switch ($outcomeLevel) {
            case CheckOutcome::OK:
                return LogLevel::INFO;
            case CheckOutcome::NOTICE:
                return LogLevel::NOTICE;
            case CheckOutcome::WARNING:
                return LogLevel::WARNING;
            case CheckOutcome::ERROR:
                return LogLevel::ERROR;
            case CheckOutcome::EXCEPTION:
                return LogLevel::ERROR;
            default:
                return LogLevel::ERROR;
        }
    }
protected function getLogLevel ( $ outcomeLevel ) { switch ( $ outcomeLevel ) { case CheckOutcome :: OK : return LogLevel :: INFO ; case CheckOutcome :: NOTICE : return LogLevel :: NOTICE ; case CheckOutcome :: WARNING : return LogLevel :: WARNING ; case CheckOutcome :: ERROR : return LogLevel :: ERROR ; case CheckOutcome :: EXCEPTION : return LogLevel :: ERROR ; default : return LogLevel :: ERROR ; } }
Translates a given check level to a log level.

@param int $outcomeLevel the outcome level

@return string A log level as defined in Psr\Log\LogLevel
Translates a given check level to a log level .