Improved logging, added bot.processDatetime at Indicators and extractors Loop Log and Internal Loop

This commit is contained in:
Luis Fernando Molina committed 2019-03-27 20:34:26 +01:00
1 parent a4cbcaf243
commit 3b9edf74c7
4 files changed
+15 -16

No files matched your search

+2 -2
View File
@@ -153,8 +153,8 @@
/* High level log entry */
console.log(bot.processDatetime.toISOString() + " " + pad(bot.codeName, 20) + " " + pad(bot.process, 30) + " " + pad(pMonth, 2) + "/" + pad(pYear, 4)
+ " Entered into Main Loop # " + pad(Number(bot.loopCounter), 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), 8) + " bot.processDatetime = " + bot.processDatetime.toISOString());
/* We will prepare first the infraestructure needed for the bot to run. There are 3 modules we need to sucessfullly initialize first. */