better osc debug log

This commit is contained in:
jean-emmanuel 2016-04-04 22:27:42 +02:00
parent 65457bfb3a
commit 1942ca66f4
2 changed files with 2 additions and 1 deletions

View file

@ -12,7 +12,7 @@ module.exports = function(ipc, settings) {
var data = {path:msg.shift(),args:msg}
if (data.args.length==1) data.args = data.args[0]
ipc.send('receiveOsc',data)
if (debug) console.log('OSC received: ',data,rinfo)
if (debug) console.log('OSC received: ',data, 'From : ' + rinfo.address + ':' + rinfo.port)
})
}