code: def __init__(self, filename="results_summary.json"):
      logger.info(f"Logging Summary to JSON at path {filename}")
      self.filename = filename
      self.json_dictionary = {}
      self._flushed = True
  
file_path: TextAttack/textattack/loggers/json_summary_logger.py
imports: import json
  from textattack.shared import logger
  from .logger import Logger
label_desc: Use image node_id 1 to create a new JsonSummaryLogger object from inherited base classes: Logger with example: obj = JsonSummaryLogger(filename)