code: def log_pre_api_call(self, model, messages, kwargs):
      print(f"Pre-API Call")
      self.data_sent_to_api = kwargs["additional_args"].get(
          "complete_input_dict", {}
      )
  
file_path: litellm/litellm/tests/test_custom_logger.py
imports: import sys, os, time, inspect, asyncio, traceback
  import pytest
  from litellm import completion, embedding
  import litellm
  from litellm.integrations.custom_logger import CustomLogger
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