code: def __init__(self, logger, level=None, handler=None, close=True):
      self.logger = logger
      self.level = level
      self.handler = handler
      self.close = close
  
file_path: zoo/src/utils/utils.py
imports: import logging
  import warnings
  from typing import List, Sequence
  import pytorch_lightning
  import rich.syntax
  import rich.tree
  from omegaconf import DictConfig, OmegaConf
  from pytorch_lightning.utilities import rank_zero_only
label_desc: Use image node_id 1 to create a new LoggingContext object  with example: obj = LoggingContext(logger, level, handler, close)