code: def log_level_from_vebosity(verbosity):
      
      if verbosity == 0:
          return logging.WARNING
      if verbosity == 1:
          return logging.INFO
      return logging.DEBUG
docs: Get the `logging` module log level from a verbosity.
  
      :param verbosity: The number of times the `-v` option was specified.
      :return: The corresponding log level.