code: def log_metrics(self, metrics, prefix=None, step=None):
      if not prefix:
          prefix = ""
      updated_metrics = {
          prefix + "/" + k: v for k, v in metrics.items()
      }
  
      for k, v in updated_metrics.items():
          self.vdl_writer.add_scalar(k, v, step)
  
file_path: PaddleOCR/ppocr/utils/loggers/vdl_logger.py
imports: from .base_logger import BaseLogger
  from visualdl import LogWriter
label_desc: Use image node_id 2 for calling the VDLLogger obj's underlying member method code with example usage: obj.log_metrics(metrics, prefix, step) without return types