code: def get_handler(short=False):
      if short:
          formatter = logging.Formatter(
              "%(filename)s:%(lineno)s %(message)s\n"
          )
      else:
          formatter = logging.Formatter(
              "\n[%(filename)s:%(lineno)s - %(funcName)20s() ]   %(message)s\n"
          )
      handler = logging.StreamHandler()
      handler.setFormatter(formatter)
      return handler
  
imports: import hashlib
  import json
  import logging
  import os
  import pandas
  import pandas.util
  import platform
  import random
  import string
  import uuid
  import warnings
  from functools import lru_cache
  from typing import Any
  from collections import UserDict
  from .constants import VERBOSE, CACHE_COERCION_SIZE, TRACE
label_desc: Use image node_id 1 for calling a global function with example usage: get_handler(short) and returns: handler