code: def log_pre_api_call(self, model, messages, kwargs):
      print_verbose(f"Pre-API Call")
  
file_path: litellm/litellm/proxy/example_config_yaml/custom_callbacks.py
imports: import sys, os, traceback
  from litellm.integrations.custom_logger import CustomLogger
  import litellm
  import inspect
label_desc: Use image node_id 2 for calling the MyCustomHandler obj's underlying member method code with example usage: obj.log_pre_api_call(model, messages, kwargs) without return types