From 420853d9ce2c3f8a1cdc1f8c3bab5f52ed9854f6 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Thu, 19 Sep 2019 14:46:06 +0200 Subject: [PATCH] Removing Console.logs --- Hole-Fixing/User.Bot.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Hole-Fixing/User.Bot.js b/Hole-Fixing/User.Bot.js index 38a714961..29c40deaa 100644 --- a/Hole-Fixing/User.Bot.js +++ b/Hole-Fixing/User.Bot.js @@ -457,7 +457,7 @@ fileStorage.getTextFile(bot.devTeam, filePath, onNextFileReceived, true); - console.log("[INFO] start -> findNextHole -> readNextFile -> reading file at dateForPath = " + dateForPath); + logger.write(MODULE_NAME, "[INFO] start -> findNextHole -> readNextFile -> reading file at dateForPath = " + dateForPath); function onNextFileReceived(err, text) { @@ -770,7 +770,7 @@ fileStorage.getTextFile(bot.devTeam, filePath, onNextFileReceived, true); - console.log("[INFO] start -> findNextHole -> findEndOfHole -> reading file at dateForPath = " + dateForPath); + logger.write(MODULE_NAME, "[INFO] start -> findNextHole -> findEndOfHole -> reading file at dateForPath = " + dateForPath); function onNextFileReceived(err, text) { @@ -1183,7 +1183,7 @@ fileStorage.createTextFile(bot.devTeam, filePath, fileContent + '\n', onFileCreated); - console.log("[INFO] start -> tradesReadyToBeSaved -> nextRecord -> creating file at dateForPath = " + dateForPath); + logger.write(MODULE_NAME, "[INFO] start -> tradesReadyToBeSaved -> nextRecord -> creating file at dateForPath = " + dateForPath); function onFileCreated(err) {