How to use the info function from log4js

Find comprehensive JavaScript log4js.info code examples handpicked from public code repositorys.

451
452
453
454
455
456
457
458
459
460
    delay: 1,
    refillQuote: initialQuote,
})
.then((status) => {
    if (status !== -1) {
        logger.info(`equalizer completed for - ${initialQuote}`);
        this.getClient().getEqualizer().releaseChannel(initialQuote);
    }
})
.catch((e) => {
fork icon0
star icon0
watch icon1

135
136
137
138
139
140
141
142
143
144

if (!lastBuyOrder) {
    logger.error(`#${symbol} buy orders not found`);
    continue;
}
logger.info(`#${lastBuyOrder.market} created: ${moment(lastBuyOrder.timestamp).utc().format('Y-MM-DD HH:mm:ss.SSS')} (${moment.duration(lastBuyOrder.timestamp - Date.now()).humanize(true)}), price: ${lastBuyOrder.price}, amount: ${lastBuyOrder.amount}`);

/** If last quote which was used for shit coin obtaining can not be used for shit coin sell */
if (typeof marketsToSell[lastBuyOrder.market] === 'undefined') {
    logger.info(`unable to sell #${lastBuyOrder.market}, possible markets are ${JSON.stringify(Object.keys(marketsToSell))}`);
fork icon0
star icon0
watch icon1

+ 4 other calls in file