Question
2
Replies
4827
Views
PEGA
Posted: September 6, 2016
Last activity: September 8, 2016
Closed
Efficient way to debug Java code in custom controls
I have a custom control that has java code in it. There are methods like oLog.infoForced and oLog.error that can be used to debug, but these logs recide in the PegaRules.log which has to be downloaded regulary to check the logs. Is there a better way to debug by adding logs that can be printed on the browser 's console?
Hi
See the method Log-Message . It also carries an option to send the log to tracer. This shows the logger info in tracer.
So you might need to dig in further to understand how this method works .