Skip to content
This repository was archived by the owner on Feb 16, 2020. It is now read-only.

Commit f8f5630

Browse files
committed
rm log references in gdax
1 parent 03caaa7 commit f8f5630

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

exchange/wrappers/gdax.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ Trader.prototype.getTrades = function(since, callback, descending) {
289289
if (moment.utc(last.time) < moment.utc(since)) {
290290
this.scanbackTid = last.trade_id;
291291
} else {
292-
log.debug('Scanning backwards...' + last.time);
292+
console.log('Scanning backwards...' + last.time);
293293
setTimeout(() => {
294294
let handler = cb =>
295295
this.gdax_public.getProductTrades(
@@ -315,7 +315,7 @@ Trader.prototype.getTrades = function(since, callback, descending) {
315315

316316
if (this.scanbackTid) {
317317
// if scanbackTid is set we need to move forward again
318-
log.debug(
318+
console.log(
319319
'Backwards: ' +
320320
last.time +
321321
' (' +
@@ -348,7 +348,7 @@ Trader.prototype.getTrades = function(since, callback, descending) {
348348
this.scanback = false;
349349
this.scanbackTid = 0;
350350

351-
log.debug('Scan finished: data found:' + this.scanbackResults.length);
351+
console.log('Scan finished: data found:' + this.scanbackResults.length);
352352
callback(null, this.scanbackResults);
353353

354354
this.scanbackResults = [];
@@ -374,8 +374,8 @@ Trader.prototype.getTrades = function(since, callback, descending) {
374374
_.bind(process, this)
375375
);
376376
} else {
377-
log.debug('Scanning back in the history needed...');
378-
log.debug(moment.utc(since).format());
377+
console.log('Scanning back in the history needed...');
378+
console.log(moment.utc(since).format());
379379
}
380380
}
381381

0 commit comments

Comments
 (0)