code: def formatMessage(self, record: logging.LogRecord) -> str:
      if (
          record.levelno == logging.INFO
          or record.levelno == logging.DEBUG
      ):
          # Log INFO/DEBUG without any adornment
          return record.getMessage()
      else:
          # I'm not sure why, but formatMessage doesn't show up
          # even though it's in the typeshed for Python >3
          return super().formatMessage(record)
  
imports: import contextlib
  import datetime
  import functools
  import glob
  import json
  import logging
  import os
  import re
  import shutil
  import subprocess
  import sys
  import tempfile
  import time
  import uuid
  from argparse import ArgumentParser
  from ast import literal_eval
  from typing import Any, Callable, cast, Dict, Generator, Iterable, Iterator, List, Optional, Sequence, Set, Tuple, TypeVar
label_desc: Use image node_id 3 for calling the Formatter obj's underlying member method code with example usage: obj.formatMessage(record) and returns: record, super