class_docstr: Loader for a root log directory, maintaining multiple DirectoryLoaders.
  
  This class takes a root log directory and a factory for DirectoryLoaders, and
  maintains one DirectoryLoader per "logdir subdirectory" of the root logdir.
  
  Note that this class is not thread-safe.
docstr: Wraps `DirectoryLoader` generator to swallow
  `DirectoryDeletedError`.
code: def _wrap_loader_generator(self, loader_generator):
      """Wraps `DirectoryLoader` generator to swallow
      `DirectoryDeletedError`."""
      try:
          for item in loader_generator:
              yield item
      except directory_watcher.DirectoryDeletedError:
          return
  
file_path: tensorboard/tensorboard/uploader/logdir_loader.py
imports: import collections
  import os
  from tensorboard.backend.event_processing import directory_watcher
  from tensorboard.backend.event_processing import io_wrapper
  from tensorboard.util import tb_logging
label_desc: Use image node_id 4 for calling the LogdirLoader obj's underlying member method code with example usage: obj._wrap_loader_generator(loader_generator) without return types