qt5: port the Logger