From 07d451b2063988040e0f25869701b0437ef70802 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Thu, 19 Sep 2019 14:45:53 +0200 Subject: [PATCH] Removing console.logs --- Single-Period-Daily/User.Bot.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Single-Period-Daily/User.Bot.js b/Single-Period-Daily/User.Bot.js index 962282197..ddaa2329d 100644 --- a/Single-Period-Daily/User.Bot.js +++ b/Single-Period-Daily/User.Bot.js @@ -326,7 +326,7 @@ fileStorage.getTextFile(bot.devTeam, filePath, onFileReceived); - console.log("[INFO] start -> findPreviousContent -> getCandles -> reading file at dateForPath = " + dateForPath); + logger.write(MODULE_NAME, "[INFO] start -> findPreviousContent -> getCandles -> reading file at dateForPath = " + dateForPath); function onFileReceived(err, text) { @@ -377,7 +377,7 @@ fileStorage.getTextFile(bot.devTeam, filePath, onFileReceived); - console.log("[INFO] start -> findPreviousContent -> getVolumes -> reading file at dateForPath = " + dateForPath); + logger.write(MODULE_NAME, "[INFO] start -> findPreviousContent -> getVolumes -> reading file at dateForPath = " + dateForPath); function onFileReceived(err, text) { @@ -478,7 +478,7 @@ fileStorage.getTextFile(bot.devTeam, filePath, onFileReceived); - console.log("[INFO] start -> findPreviousContent -> loopStart -> reading file at dateForPath = " + dateForPath); + logger.write(MODULE_NAME, "[INFO] start -> findPreviousContent -> loopStart -> reading file at dateForPath = " + dateForPath); function onFileReceived(err, text) { @@ -721,7 +721,7 @@ fileStorage.getTextFile(bot.devTeam, filePath, onFileReceived); - console.log("[INFO] start -> buildCandlesAndVolumes -> nextFile -> nextDate -> readTrades -> reading file at dateForPath = " + dateForPath); + logger.write(MODULE_NAME, "[INFO] start -> buildCandlesAndVolumes -> nextFile -> nextDate -> readTrades -> reading file at dateForPath = " + dateForPath); function onFileReceived(err, text) { @@ -874,7 +874,7 @@ fileStorage.createTextFile(bot.devTeam, filePath, fileContent + '\n', onFileCreated); - console.log("[INFO] start -> writeFiles -> writeCandles -> writing file at dateForPath = " + dateForPath); + logger.write(MODULE_NAME, "[INFO] start -> writeFiles -> writeCandles -> writing file at dateForPath = " + dateForPath); function onFileCreated(err) { @@ -948,7 +948,7 @@ fileStorage.createTextFile(bot.devTeam, filePath, fileContent + '\n', onFileCreated); - console.log("[INFO] start -> writeFiles -> writeVolumes -> writing file at dateForPath = " + dateForPath); + logger.write(MODULE_NAME, "[INFO] start -> writeFiles -> writeVolumes -> writing file at dateForPath = " + dateForPath); function onFileCreated(err) {