Which libraries or API to use to access/download audit log reports from a SharePoint Online environment.

Is there a way to download the whole audit log from SharePoint online environment?