docstr: Logs a key,value dictionary of metrics.
  
  Args:
      dic: key,value dictionary of metrics
      prefix: prefix added to metric name
      step: Optional. Used as the X axis when plotting on comet.ml
      epoch: Optional. Used as the X axis when plotting on comet.ml
docstr_tok: ["Logs","a","key",",","value","dictionary","of","metrics",".","Args",":","dic",":","key",",","value","dictionary","of","metrics","prefix",":","prefix","added","to","metric","name","step",":","Optional",".","Used","as","the","X","axis","when","plotting","on","comet.ml","epoch",":","Optional",".","Used","as","the","X","axis","when","plotting","on","comet.ml"]
code: def log_metrics(self, dic, prefix=None, step=None, epoch=None):
      """Logs a key,value dictionary of metrics.
  
      Args:
          dic: key,value dictionary of metrics
          prefix: prefix added to metric name
          step: Optional. Used as the X axis when plotting on comet.ml
          epoch: Optional. Used as the X axis when plotting on comet.ml
      """
      self._experiment.log_metrics(dic, prefix, step, epoch)
  
imports: import logging
  import json
  import functools
  from io import BytesIO
  from google.protobuf.json_format import MessageToJson
  import numpy
  from .summary import _clean_tag
label_desc: Use image node_id 5 for calling the CometLogger obj's underlying member method code with example usage: obj.log_metrics(dic, prefix, step, epoch) without return types