protected function convertLogLevel($level)
    {
        $map = [
            Propel::LOG_EMERG   => LogLevel::EMERGENCY,
            Propel::LOG_ALERT   => LogLevel::ALERT,
            Propel::LOG_CRIT    => LogLevel::CRITICAL,
            Propel::LOG_ERR     => LogLevel::ERROR,
            Propel::LOG_WARNING => LogLevel::WARNING,
            Propel::LOG_NOTICE  => LogLevel::NOTICE,
            Propel::LOG_DEBUG   => LogLevel::DEBUG,
        ];
        return $map[$level];
    }
protected function convertLogLevel($level)
    {
        $map = [
            Propel::LOG_EMERG   => LogLevel::EMERGENCY,
            Propel::LOG_ALERT   => LogLevel::ALERT,
            Propel::LOG_CRIT    => LogLevel::CRITICAL,
            Propel::LOG_ERR     => LogLevel::ERROR,
            Propel::LOG_WARNING => LogLevel::WARNING,
            Propel::LOG_NOTICE  => LogLevel::NOTICE,
            Propel::LOG_DEBUG   => LogLevel::DEBUG,
        ];
        return $map[$level];
    }
protected function convertLogLevel ( $ level ) { $ map = [ Propel :: LOG_EMERG => LogLevel :: EMERGENCY , Propel :: LOG_ALERT => LogLevel :: ALERT , Propel :: LOG_CRIT => LogLevel :: CRITICAL , Propel :: LOG_ERR => LogLevel :: ERROR , Propel :: LOG_WARNING => LogLevel :: WARNING , Propel :: LOG_NOTICE => LogLevel :: NOTICE , Propel :: LOG_DEBUG => LogLevel :: DEBUG , ] ; return $ map [ $ level ] ; }
Converts Propel log levels to PSR log levels

@param int $level

@return string
Converts Propel log levels to PSR log levels