One of my custom functionality works randomly. so i need to maintain logs from record.js file to sugarcrm.log file. Is any one help to solve this problem. In my records.js file i have more than 3 function, whenever function call's and returns some data i want to maintain logs to sugarcrm.log file.