class_docstr: A formatter that allows a log time and caller info to be overridden via
  ``logger.log(level, message, extra={"origin_created": ..., "caller": ...})``.
code: def format(self, record: logging.LogRecord) -> str:
      if hasattr(record, "origin_created"):
          record.created = record.origin_created
          record.msecs = (record.created - int(record.created)) * 1000
  
      if record.levelno != logging.INFO or always_log_caller:
          if not hasattr(record, "caller"):
              record.caller = (
                  f"{record.name}.{record.funcName}:{record.lineno}"
              )
          record.caller_block = (
              f" [{TextStyle.BOLD}{record.caller}{TextStyle.RESET}]"
          )
      else:
          record.caller_block = ""
  
      # Aliases for the format argument
      record.levelcolor = self._LEVEL_TO_COLOR[record.levelno]
      record.bold = TextStyle.BOLD
      record.reset = TextStyle.RESET
  
      return super().format(record)
  
imports: import logging
  import os
  import sys
  import threading
  from enum import Enum
  from typing import Any, Optional, Union
label_desc: Use image node_id 1 for calling the CustomFormatter obj's underlying member method code with example usage: obj.format(record) and returns: super