def initialize_async_logger(
    api_key: Optional[str] = None,
) -> None:

source code

Initialize the async logger with the specified configuration.

Arguments:

  • batch_size - Number of logs to batch together before sending
  • flush_interval - How often to flush logs in seconds
  • max_queue_size - Maximum size of the log queue
  • api_key - API key for authentication