Month and Year added to new loop console log

This commit is contained in:
Luis Fernando Molina committed 2018-07-01 10:18:05 +02:00
1 parent 3211fb3f25
commit 5c4bf02bcd
1 file changed
+1 -1
+1 -1
View File
@@ -151,7 +151,7 @@
return str.length < max ? pad(" " + str, max) : str;
}
console.log(new Date().toISOString() + " " + pad(bot.codeName, 20) + " " + pad(bot.process, 30) + " Entered into Main Loop # " + pad(Number(bot.loopCounter) + 1, 8 ));
console.log(new Date().toISOString() + " " + pad(bot.codeName, 20) + " " + pad(bot.process, 30) + " " + pad(pMonth, 2) + "/" + pad(pYear, 4) + " Entered into Main Loop # " + pad(Number(bot.loopCounter) + 1, 8 ));
/* For each loop we want to create a new log file. */