class_docstr: A class that tracks the results from a pipeline run.
docstr: Log metrics to result store.
  
  :param metrics: The metrics to log.
  :param step: An optional step to attach the metrics to (e.g. the epoch).
  :param prefix: An optional prefix to prepend to every key in metrics.
docstr_tok: ["Log","metrics","to","result","store",".",":","param","metrics",":","The","metrics","to","log",".",":","param","step",":","An","optional","step","to","attach","the","metrics","to","(","e.g",".","the","epoch",")",".",":","param","prefix",":","An","optional","prefix","to","prepend","to","every","key","in","metrics","."]
code: def log_metrics(
      self,
      metrics: Mapping[str, float],
      step: Optional[int] = None,
      prefix: Optional[str] = None,
  ) -> None:
      """Log metrics to result store.
  
      :param metrics: The metrics to log.
      :param step: An optional step to attach the metrics to (e.g. the epoch).
      :param prefix: An optional prefix to prepend to every key in metrics.
      """
  
imports: import logging
  import re
  from collections import defaultdict
  from typing import Any, Iterable, List, Mapping, MutableMapping, Optional, Pattern, Union
  from tqdm.auto import tqdm
  from ..utils import flatten_dictionary
label_desc: Use image node_id 3 for calling the ResultTracker obj's underlying member method code with example usage: obj.log_metrics(metrics, step, prefix) without return types