I have one app for Office 365 with Azure hosted. I have some code in my app event receiver.
I am able to deploy my app in app catalog but not able to add it to site collection due to installation errors. Inspecting errors it says some exception occurred in event receiver code.
Now I want to log the actual exception and figure out what is going wrong. What will be the best way to log this?
Btw I have access to Azure, SharePoint online and office 365 admin.