Improving console logging plus bug fixes
This commit is contained in:
1 parent
9651ccf15d
commit
3d69e7abcb
9 files changed
+25
-35
No files matched your search
+4
-2
@@ -37,10 +37,12 @@ exports.newDebugLog = function newDebugLog() {
|
||||
}
|
||||
}
|
||||
|
||||
function newInternalLoop(pBot, pProcess) {
|
||||
function newInternalLoop(pBot, pProcess, date) {
|
||||
|
||||
if (date === undefined) { date = thisObject.bot.processDatetime }
|
||||
|
||||
console.log(new Date().toISOString() + " " + strPad(pBot, 20) + " " + strPad(pProcess, 30) + " Entered into Internal Loop # " + strPad(internalLoopCounter + 1, 4) + " bot.processDatetime = " + thisObject.bot.processDatetime.toISOString());
|
||||
console.log(new Date().toISOString() + " " + strPad(pBot, 20) + " " + strPad(pProcess, 30) + " " + strPad(thisObject.bot.exchange, 20) + " " + strPad(thisObject.bot.market.baseAsset + '/' + thisObject.bot.market.quotedAsset, 10)
|
||||
+ " Entered into Internal Loop # " + strPad(internalLoopCounter + 1, 8) + " " + strPad(date.toISOString(), 30))
|
||||
|
||||
persist();
|
||||
|
||||
|
||||
Reference in new issue
Block a user