def shutdown_async_logger() -> None:

source code

Gracefully shutdown the async logger, ensuring all pending logs are flushed.