We are working on enabling Azure Monitor integration for Web Jobs, soon you will be able to ship the logs to Log Analytics Workspace out of the box, similarly to what is available today for Web Apps on App Service.
For more information:
https://learn.microsoft.com/en-us/azure/app-service/tutorial-troubleshoot-monitor