parameters: (level)
docstring: Converts logging log level into elliptics.log_level
docstring_summary: Converts logging log level into elliptics.log_level
docstring_tokens: Converts logging log level into elliptics . log_level
function: def convert_logging_log_level(level):
      '''
      Converts logging log level into elliptics.log_level
      '''
      if level <= logging.DEBUG:
          return elliptics.log_level.debug
      elif level <= logging.INFO:
          return elliptics.log_level.info
      elif level <= logging.WARNING:
          return elliptics.log_level.warning
      elif level <= logging.CRITICAL:
          return elliptics.log_level.ERROR
      else:
          return elliptics.log_level.error
function_tokens: def convert_logging_log_level ( level ) : if level <= logging . DEBUG : return elliptics . log_level . debug elif level <= logging . INFO : return elliptics . log_level . info elif level <= logging . WARNING : return elliptics . log_level . warning elif level <= logging . CRITICAL : return elliptics . log_level . ERROR else : return elliptics . log_level . error