QMessageLogger

class PyQt5.QtCore.QMessageLogger

C++ documentation