Logging to console Improved

This commit is contained in:
Luis Fernando Molina committed 2019-04-06 09:46:49 +02:00
1 parent 1c4c343db9
commit 88bf9c423b
1 file changed
+12
+12
View File
@@ -343,6 +343,8 @@
bruceStorage.getTextFile(filePath, fileName, onFileReceived);
console.log("[INFO] start -> findPreviousContent -> getCandles -> reading file at dateForPath = " + dateForPath);
function onFileReceived(err, text) {
let candlesFile;
@@ -391,6 +393,8 @@
bruceStorage.getTextFile(filePath, fileName, onFileReceived);
console.log("[INFO] start -> findPreviousContent -> getVolumes -> reading file at dateForPath = " + dateForPath);
function onFileReceived(err, text) {
let volumesFile;
@@ -489,6 +493,8 @@
charlyStorage.getTextFile(filePath, fileName, onFileReceived);
console.log("[INFO] start -> findPreviousContent -> loopStart -> reading file at dateForPath = " + dateForPath);
function onFileReceived(err, text) {
let tradesFile;
@@ -729,6 +735,8 @@
charlyStorage.getTextFile(filePath, fileName, onFileReceived);
console.log("[INFO] start -> buildCandlesAndVolumes -> nextFile -> nextDate -> readTrades -> reading file at dateForPath = " + dateForPath);
function onFileReceived(err, text) {
let tradesFile;
@@ -879,6 +887,8 @@
bruceStorage.createTextFile(filePath, fileName, fileContent + '\n', onFileCreated);
console.log("[INFO] start -> writeFiles -> writeCandles -> writing file at dateForPath = " + dateForPath);
function onFileCreated(err) {
try {
@@ -950,6 +960,8 @@
bruceStorage.createTextFile(filePath, fileName, fileContent + '\n', onFileCreated);
console.log("[INFO] start -> writeFiles -> writeVolumes -> writing file at dateForPath = " + dateForPath);
function onFileCreated(err) {
try {