How to use the debug function from log4js
Find comprehensive JavaScript log4js.debug code examples handpicked from public code repositorys.
76 77 78 79 80 81 82 83 84 85
const possibleMarkets = this.client.getPossibleMarkets([symbol]); /** Check if there any markets where shit coin can be sold to obtain minNotional amount of quote */ for (const possibleMarket of possibleMarkets) { try { logger.debug(`${possibleMarket}`); const orderBook = await this.client.fetchOrderBook(possibleMarket); if (!orderBook['bids'] || !orderBook['bids'][0]) { logger.debug(`order book ${possibleMarket} is empty`); continue;
0
0
1
+ 3 other calls in file
log4js.getLogger is the most popular function in log4js (529 examples)