Use repr() instead of str() for logging the RPC record
Use repr() instead of str() for logging the RPC record

On Python 2.7 the str() representation of the record can't be printed to the terminal it isn't in utf-8 mode.
This will cause "UnicodeDecodeError: 'ascii' codec can't decode byte" errors to be printed, instead of the log message.
Use %r to format the record instead, in order to avoid this problem.
hgrecco/pyvisa-py,pyvisa/pyvisa-py