Rewritten LogHandler to avoid multiple inheritance.
Rewritten LogHandler to avoid multiple inheritance.

This is to avoid problems linked to conflict with emit method in PySide2.
See also https://stackoverflow.com/questions/66664542/conflicting-names-between-logging-emit-function-and-qt-emit-signal

ralph-group/pymeasure