code: def emit(self, record):
      self.records.append(record)
  
imports: import sys
  import logging
  import timeit
  from functools import wraps
  from collections.abc import Mapping, Callable
  import warnings
  from logging import PercentStyle
label_desc: Use image node_id 4 for calling the CapturingLogHandler obj's underlying member method code with example usage: obj.emit(record) without return types