code: def setDebug(string):
      
      global _DEBUG
      global _ENV_VAR_NAME
      global _categories
  
      _DEBUG = string
      debug('log', "%s set to %s" % (_ENV_VAR_NAME, _DEBUG))
  
      # reparse all already registered category levels
      for category in _categories:
          registerCategory(category)
docs: Set the DEBUG string.  This controls the log output.