code: def logItems(self, level=logging.DEBUG):
          
          rootItem = self.rootItem()
          if rootItem is None:
              logger.debug("No items in: {}".format(self))
          else:
              rootItem.logBranch(level=level)
docs: rootItem