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: h2o-3/h2o-py/tests/testdir_utils/pyunit_logger.py
imports: import sys
  import logging
  from tests import pyunit_utils
label_desc: Use image node_id 1 to create a new LoggingContext object  with example: obj = LoggingContext(logger, level, handler, close)