original_string: 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];
      }
code: 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];
      }
code_tokens: 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 ] ; }
docstring: Converts Propel log levels to PSR log levels
  
  @param int $level
  
  @return string
docstring_tokens: Converts Propel log levels to PSR log levels