def METHOD_NAME(outputEdit, msg_):
    # Slot for teed log output
    app = guitool_main.get_qtapp()
    # Write msg to text area
    outputEdit.moveCursor(QtGui.QTextCursor.End)
    # TODO: Find out how to do backspaces in textEdit
    msg = str(msg_)
    if msg.find('\b') != -1:
        msg = msg.replace('\b', '') + '\n'
    outputEdit.insertPlainText(msg)
    if app is not None:
        app.processEvents()