code: def test_exception_under_verbose(self, caplog, dt):
      with caplog.at_level(logging.DEBUG, logger="dvc"):
          try:
              raise Exception("description")
          except Exception:
              stack_trace = traceback.format_exc()
              logger.exception("")
  
          expected = (
              "{red}{datetime}{nc} "
              "{red}ERROR{nc}: description\n"
              "{stack_trace}".format(
                  stack_trace=stack_trace,
                  **colors,
                  datetime=dt,
              )
          )
  
          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 8 for calling the TestColorFormatter obj's underlying member method code with example usage: obj.test_exception_under_verbose(caplog, dt) without return types