code: def format(self, record):
      fmt = self._formatters.get(
          record.levelname
      ) or self._formatters.get("_")
      if fmt:
          return fmt.format(record)
      return super().format(record)
  
imports: import logging
  import logging.config
  import os
  import sys
  from guild import ansi_util
label_desc: Use image node_id 2 for calling the ConsoleLogHandler obj's underlying member method code with example usage: obj.format(record) and returns: super, fmt