class_docstr: Custom log formatter.
  
  Extends `colored.TTYColoredFormatter` by adding attributes
  to message arguments and coloring error traceback.
code: def _color_record_traceback(self, record: LogRecord) -> LogRecord:
      if record.exc_info:
          # Cache the traceback text to avoid converting it multiple times
          # (it's constant anyway)
          if not record.exc_text:
              record.exc_text = self.formatException(record.exc_info)
  
          if record.exc_text:
              record.exc_text = (
                  self.color(self.log_colors, record.levelname)
                  + record.exc_text
                  + escape_codes["reset"]
              )
  
      return record
  
file_path: airflow/airflow/utils/log/colored_log.py
imports: from __future__ import annotations
  import sys
  from typing import TYPE_CHECKING, Any
  import re2
  from colorlog import TTYColoredFormatter
  from colorlog.escape_codes import esc, escape_codes
  from airflow.utils.log.timezone_aware import TimezoneAware
label_desc: Use image node_id 5 for calling the CustomTTYColoredFormatter obj's underlying member method code with example usage: obj._color_record_traceback(record) and returns: record