UDP LogHandler?

I may have to back off. My C++ skills are just not that great. I’m fairly sure it could be done by subclassing StreamLogHandler but I’m not sure how to work with the Print class.