I have written a server method. If any error or exception came in method, I want to add it to logs. Is there any to do the same? If yes please explain how to do it.
I have written so much stuff in this forum that you can find answers to nearly everything within my account. I should print my posts and sell them as "Secrets of a PLM platform - Angela´s definite guide".
You can use try catch block in you method & in catch block you can log (using Aras log method) your exception or error like CCO.Utilities.WriteDebug("logFileName","Error");.
log will generate server temp folder with logFileName
// your code