server: fix debug log for outgoing rgba messages

This commit is contained in:
jean-emmanuel 2025-02-28 13:58:27 +01:00
parent da3b7ff2d2
commit e65e928f88

View file

@ -133,7 +133,9 @@ class OscServer {
}
if (debug) console.log('\x1b[35m(DEBUG, OSC) Out: ',{address:data.address, args: data.args}, 'To: ' + data.host + ':' + data.port, '\x1b[0m')
if (debug) {
console.log('\x1b[35m(DEBUG, OSC) Out: ', `{ address: '${data.address}', args: `, data.args, '} To: ' + data.host + ':' + data.port, '\x1b[0m')
}
}