code: def test_exc_info_on_other_record_types(self, caplog, dt):
      with caplog.at_level(logging.DEBUG, logger="dvc"):
          try:
              raise Exception("description")
          except Exception:  # noqa: BLE001
              stack_trace = traceback.format_exc()
              logger.debug("", exc_info=True)
  
          expected = (
              "{blue}{datetime}{nc} "
              "{blue}DEBUG{nc}: description\n"
              "{stack_trace}".format(
                  stack_trace=stack_trace,
                  datetime=dt,
                  **colors,
              )
          )
  
          assert expected == formatter.format(caplog.records[0])
  
imports: import logging
  import time
  import traceback
  from datetime import datetime
  import colorama
  import pytest
  import dvc.logger
  from dvc.exceptions import DvcException
label_desc: Use image node_id 9 for calling the TestColorFormatter obj's underlying member method code with example usage: obj.test_exc_info_on_other_record_types(caplog, dt) without return types