Redirect/replace dscKeybusPrintData stream->print to a buffer
Hi, 
I would like to redirect the dscKeybusReader so I can send the print data to whatever output device: serial, file, IP (MQTT, syslog,...)

I know very little of C++, but I managed to get that stream inherits from print class, and dsc.begin sets stream output to Serial. Is there an easy way to redirect the stream to a buffer that can be accessed by a method to direct the print data to the appropriate output device?

What I have done so far is to add a new method and did a global and replace for stream->print with the new method, but realize there must be a cleaner OO way to do this. Any suggestions? Ideally the object/buffer should be accessible in the sketch so the user has control over it and use the “output” of their choice.

I think this would be interesting to add, along with OTA, one can run any example and retrieve detailed logs from the comfort of their sofa:) I’d be more than happy to continue my work and create a PR with some help/guidance.
