I would like to know if anyone has worked on exception logging and place all the logs in a text file.
I created a small add-in and would like to Log the details on each function so that it will be easy for me to track the logs and fix it.
I use serilog and log to the folder where the add-in is installed.
I also created a feedback button in my pro addin ribbon that grabs the most current file and attaches it with their feedback message.
The project I am working on is on github, GitHub - agrc/uic-addin: An ArcGIS Pro add-in to help manage, create, and validate the UIC GIS database
Hi Naresh,
I have uploaded the sample project for you.
https://github.com/thanhtataung/ArcGISProSDKPlayground
Try firstaddon-ArcgisPro project.
It is using the nlog and you can configure where to log in nlog.config
If you have difficulty downloading from github, you can download from this attachment as well.
Let me know how's you go.
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.