From 283d937ae774e76295de623eaf6c272ecd721f8b Mon Sep 17 00:00:00 2001 From: Esteban Ordano Date: Mon, 1 Sep 2014 17:48:46 -0300 Subject: [PATCH] Multiline logs into one line --- js/models/core/Wallet.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/js/models/core/Wallet.js b/js/models/core/Wallet.js index 4d30db478..ceb3adcdc 100644 --- a/js/models/core/Wallet.js +++ b/js/models/core/Wallet.js @@ -998,10 +998,8 @@ Wallet.prototype.receivePaymentRequest = function(options, pr, cb) { self.emit('txProposalsUpdated'); } - log.debug('You are currently on this BTC network:'); - log.debug(network); - log.debug('The server sent you a message:'); - log.debug(memo); + log.debug('You are currently on this BTC network:', network); + log.debug('The server sent you a message:', memo); return cb(ntxid, merchantData); }); @@ -1080,8 +1078,7 @@ Wallet.prototype.sendPaymentTx = function(ntxid, options, cb) { pay = pay.serialize(); - log.debug('Sending Payment Message:'); - log.debug(pay.toString('hex')); + log.debug('Sending Payment Message:', pay.toString('hex')); var buf = new ArrayBuffer(pay.length); var view = new Uint8Array(buf);