code: def dtool(debug):
      
      level = logging.WARNING
      if debug:
          level = logging.DEBUG
      logging.basicConfig(
          format='%(asctime)s - %(name)s - %(levelname)s - %(message)s',
          level=level)
docs: Tool to work with datasets.