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

source code

Initialize the async logger with the specified configuration.

Arguments:

  • queue_size - Maximum number of log events to store in the queue, defaults to 10000.
  • api_key - API key for authentication