code: def test_log_text(self: TensorBoardLoggerTest) -> None:
      with tempfile.TemporaryDirectory() as log_dir:
          logger = TensorBoardLogger(path=log_dir)
          for i in range(5):
              logger.log_text("test_text", f"iter:{i}", i)
          logger.close()
  
          acc = EventAccumulator(log_dir)
          acc.Reload()
          for i, test_text_event in enumerate(
              acc.Tensors("test_text/text_summary")
          ):
              self.assertEqual(
                  test_text_event.tensor_proto.string_val[0].decode(
                      "ASCII"
                  ),
                  f"iter:{i}",
              )
              self.assertEqual(test_text_event.step, i)
  
file_path: tnt/tests/utils/loggers/test_tensorboard.py
imports: from __future__ import annotations
  import os
  import tempfile
  import unittest
  from unittest.mock import Mock, patch
  import torch.distributed.launcher
  from tensorboard.backend.event_processing.event_accumulator import EventAccumulator
  from torch import distributed
  from torchtnt.utils.loggers.tensorboard import TensorBoardLogger
  from torchtnt.utils.test_utils import get_pet_launch_config
label_desc: Use image node_id 3 for calling the TensorBoardLoggerTest obj's underlying member method code with example usage: obj.test_log_text() without return types