Programmatically get vision client logs

I would like to get the logs (diagnostic window > console tab) from my vision client in a script. I have played around with the VisionClientContext and its getLoggingManager method, but haven't found anything useful yet. Does anyone know if this is possible?