Replaced all console.log with IsLog.c