Skip to content

Commit

Permalink
improved logging
Browse files Browse the repository at this point in the history
  • Loading branch information
askmike committed Jun 3, 2013
1 parent 66e89ea commit 89bd8a5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 1 addition & 2 deletions exchanges/bitcoincharts.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ var moment = require('moment');
var _ = require('underscore');

var Watcher = function(config) {
if(_.isObject(config)) {
if(_.isObject(config))
this.symbol = config.market + config.currency;
}

this.name = 'bitcoincharts';

Expand Down
2 changes: 2 additions & 0 deletions logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ var Logger = function(config) {

_.bindAll(this);

log.info('Profit reporter active on simulated balance');

}

// log advice
Expand Down
2 changes: 1 addition & 1 deletion methods/exponential-moving-averages.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ var advice = function() {
}

var refresh = function() {
log.info('refreshing');
log.debug('refreshing');

// remove the oldest tick
ticks.splice(0, 1);
Expand Down

0 comments on commit 89bd8a5

Please sign in to comment.