code: def log_event(
      self, model, response_obj, start_time, end_time, print_verbose
  ):
      # Method definition
      try:
          print_verbose(
              f"AISpend Logging - Enters logging function for model {model}"
          )
  
          url = f"https://aispend.io/api/v1/accounts/{self.account_id}/data"
          headers = {
              "Authorization": f"Bearer {self.api_key}",
              "Content-Type": "application/json",
          }
  
          response_timestamp = datetime.datetime.fromtimestamp(
              int(response_obj["created"])
          ).strftime("%Y-%m-%d")
  
          (
              prompt_tokens_cost_usd_dollar,
              completion_tokens_cost_usd_dollar,
          ) = self.price_calculator(
              model, response_obj, start_time, end_time
          )
          prompt_tokens_cost_usd_cent = (
              prompt_tokens_cost_usd_dollar * 100
          )
          completion_tokens_cost_usd_cent = (
              completion_tokens_cost_usd_dollar * 100
          )
          data = [
              {
                  "requests": 1,
                  "requests_context": 1,
                  "context_tokens": response_obj["usage"][
                      "prompt_tokens"
                  ],
                  "requests_generated": 1,
                  "generated_tokens": response_obj["usage"][
                      "completion_tokens"
                  ],
                  "recorded_date": response_timestamp,
                  "model_id": response_obj["model"],
                  "generated_tokens_cost_usd_cent": prompt_tokens_cost_usd_cent,
                  "context_tokens_cost_usd_cent": completion_tokens_cost_usd_cent,
              }
          ]
  
          print_verbose(f"AISpend Logging - final data object: {data}")
      except:
          # traceback.print_exc()
          print_verbose(
              f"AISpend Logging Error - {traceback.format_exc()}"
          )
          pass
  
file_path: litellm/litellm/integrations/aispend.py
imports: import dotenv, os
  import requests
  import traceback
  import datetime
label_desc: Use image node_id 3 for calling the AISpendLogger obj's underlying member method code with example usage: obj.log_event(model, response_obj, start_time, end_time, print_verbose) without return types