From f8f56304c30b06f8dd588d8e91152f2fd1a91a96 Mon Sep 17 00:00:00 2001 From: Mike van Rossum Date: Thu, 5 Jul 2018 16:33:57 +0800 Subject: [PATCH] rm log references in gdax --- exchange/wrappers/gdax.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/exchange/wrappers/gdax.js b/exchange/wrappers/gdax.js index 4bd39f93f..fe3881bab 100644 --- a/exchange/wrappers/gdax.js +++ b/exchange/wrappers/gdax.js @@ -289,7 +289,7 @@ Trader.prototype.getTrades = function(since, callback, descending) { if (moment.utc(last.time) < moment.utc(since)) { this.scanbackTid = last.trade_id; } else { - log.debug('Scanning backwards...' + last.time); + console.log('Scanning backwards...' + last.time); setTimeout(() => { let handler = cb => this.gdax_public.getProductTrades( @@ -315,7 +315,7 @@ Trader.prototype.getTrades = function(since, callback, descending) { if (this.scanbackTid) { // if scanbackTid is set we need to move forward again - log.debug( + console.log( 'Backwards: ' + last.time + ' (' + @@ -348,7 +348,7 @@ Trader.prototype.getTrades = function(since, callback, descending) { this.scanback = false; this.scanbackTid = 0; - log.debug('Scan finished: data found:' + this.scanbackResults.length); + console.log('Scan finished: data found:' + this.scanbackResults.length); callback(null, this.scanbackResults); this.scanbackResults = []; @@ -374,8 +374,8 @@ Trader.prototype.getTrades = function(since, callback, descending) { _.bind(process, this) ); } else { - log.debug('Scanning back in the history needed...'); - log.debug(moment.utc(since).format()); + console.log('Scanning back in the history needed...'); + console.log(moment.utc(since).format()); } }