Skip to content

Commit

Permalink
add a logger
Browse files Browse the repository at this point in the history
  • Loading branch information
spinegar committed Jan 26, 2018
1 parent f82a615 commit c2c53b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ function checkIfTrading(market) {

function saveMarketsToDb(markets) {
return new Promise.each(markets, (market) => {
console.log('saving pair ' + market + ' to db');
logger.info('saving pair ' + market + ' to db');
return saveMarket(market);
});
}
Expand Down

0 comments on commit c2c53b6

Please sign in to comment.