class_docstr: Abstract metric logger.
docstr: Log scalar data.
  
  Args:
      name (string): tag name used to group scalars
      data (float/int/Tensor): scalar data to log
      step (int): step value to record
code: def log(
      self,
      name: str,
      data: Scalar,
      step: int,
  ) -> None:
      """Log scalar data.
  
      Args:
          name (string): tag name used to group scalars
          data (float/int/Tensor): scalar data to log
          step (int): step value to record
      """
      pass
  
file_path: tnt/torchtnt/utils/loggers/logger.py
imports: from typing import Mapping, Union
  from numpy import ndarray
  from torch import Tensor
  from typing_extensions import Protocol
label_desc: Use image node_id 1 for calling the MetricLogger obj's underlying member method code with example usage: obj.log(name, data, step) without return types