class_docstr: Abstract metric logger.
docstr: Close log resource, flushing if necessary.
  Logs should not be written after `close` is called.
code: def close(self) -> None:
      """
      Close log resource, flushing if necessary.
      Logs should not be written after `close` is called.
      """
      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 3 for calling the MetricLogger obj's underlying member method code with example usage: obj.close() without return types