B4R Question logs messages

orpailleur

Member
Licensed User
Hi,
I am working in udp and wosh sometimes activate a debug mode from the pc over ethernet, and not connect on the usb port. For this i would send the logs in UDP. How can i do it ?
log("aa","bbb","cccc"....)
should be
logUdp("aa","bbb","cccc"....)
with
private sub logUdp(?????)
if debug then
send udp ???
else
log( ??? )
end if
end sub
 
Top