code: def __init__(self, record):
      msg = f"failed to log {record!s}"
      super().__init__(msg)
  
imports: import logging
  import logging.config
  import logging.handlers
  import os
  import sys
  import colorama
  from dvc.progress import Tqdm
label_desc: Use image node_id 1 to create a new LoggingException object from inherited base classes: Exception with example: obj = LoggingException(record)