midi: add device creation debug logs
osc/midi: add DEBUG prefix to debug logs
This commit is contained in:
parent
2b5be2a5e8
commit
47de4036c3
4 changed files with 17 additions and 8 deletions
|
|
@ -189,7 +189,7 @@ class OscServer {
|
|||
|
||||
}
|
||||
|
||||
if (debug) console.log('(OSC) Out: ',{address:data.address, args: data.args}, 'To: ' + data.host + ':' + data.port)
|
||||
if (debug) console.log('(DEBUG, OSC) Out: ',{address:data.address, args: data.args}, 'To: ' + data.host + ':' + data.port)
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -208,7 +208,7 @@ class OscServer {
|
|||
|
||||
ipc.send('receiveOsc', data, clientId)
|
||||
|
||||
if (debug) console.log('(OSC) In: ', {address:data.address, args: data.args}, 'From: ' + data.host + ':' + data.port)
|
||||
if (debug) console.log('(DEBUG, OSC) In: ', {address:data.address, args: data.args}, 'From: ' + data.host + ':' + data.port)
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue