Sometimes we get a huge list of repetitive messages in the infolog which I find is sometimes confusing rather than helping user to spot the problem. So in that case developer can use this statement to restrict the number of messages.
infolog.errorsPerBatch(3);
Note : You do not need to reset the value.
New blog platform
2 years ago
No comments:
Post a Comment