108 @param context context information |
109 @param context context information |
109 @type QMessageLogContext |
110 @type QMessageLogContext |
110 @param message message to be shown |
111 @param message message to be shown |
111 @type bytes |
112 @type bytes |
112 """ |
113 """ |
|
114 if msgType < Preferences.getUI("MinimumMessageTypeSeverity"): |
|
115 # severity is lower than configured |
|
116 # just ignore the message |
|
117 return |
|
118 |
113 if _msgHandlerDialog: |
119 if _msgHandlerDialog: |
114 try: |
120 try: |
115 if msgType == QtDebugMsg: |
121 if msgType == QtDebugMsg: |
116 messageType = "Debug Message:" |
122 messageType = "Debug Message:" |
117 elif msgType == QtWarningMsg: |
123 elif msgType == QtWarningMsg: |