class_docstr: Logs attack results to a CSV.
class_docstr_tok: ["Logs","attack","results","to","a","CSV","."]
code: def __del__(self):
      if not self._flushed:
          logger.warning("CSVLogger exiting without calling flush().")
  
file_path: TextAttack/textattack/loggers/csv_logger.py
imports: import csv
  import pandas
  from textattack.shared import AttackedText, logger
  from .logger import Logger
label_desc: Use image node_id 5 for calling the CSVLogger obj's underlying member method code with example usage: obj.__del__() without return types