class_docstr: Logs the results of an attack to all attached loggers.
class_docstr_tok: ["Logs","the","results","of","an","attack","to","all","attached","loggers","."]
code: def __init__(self, metrics: Optional[Dict]):
      self.loggers = []
      self.results = []
      self.enable_advance_metrics = False
      if metrics is None:
          self.metrics = {}
      else:
          self.metrics = metrics
  
file_path: TextAttack/textattack/loggers/attack_log_manager.py
imports: from typing import Dict, Optional
  from textattack.metrics.attack_metrics import AttackQueries, AttackSuccessRate, WordsPerturbed
  from textattack.metrics.quality_metrics import Perplexity, USEMetric
  from .None import CSVLogger, FileLogger, JsonSummaryLogger, VisdomLogger, WeightsAndBiasesLogger
label_desc: Use image node_id 1 to create a new AttackLogManager object  with example: obj = AttackLogManager(metrics)