fixed #359
This commit is contained in:
		
							parent
							
								
									7fa4586848
								
							
						
					
					
						commit
						f049c667eb
					
				
					 1 changed files with 1 additions and 6 deletions
				
			
		|  | @ -91,12 +91,7 @@ void Application::performLogging(QtMsgType type, const QMessageLogContext& conte | ||||||
| #ifndef QT_NO_DEBUG_OUTPUT | #ifndef QT_NO_DEBUG_OUTPUT | ||||||
|   QString console_message = qFormatLogMessage(type, context, msg); |   QString console_message = qFormatLogMessage(type, context, msg); | ||||||
| 
 | 
 | ||||||
|   if (type == QtMsgType::QtCriticalMsg || type == QtMsgType::QtFatalMsg || type == QtMsgType::QtWarningMsg) { |  | ||||||
|   std::cerr << console_message.toStdString() << std::endl; |   std::cerr << console_message.toStdString() << std::endl; | ||||||
|   } |  | ||||||
|   else { |  | ||||||
|     std::cout << console_message.toStdString() << std::endl; |  | ||||||
|   } |  | ||||||
| 
 | 
 | ||||||
|   if (!s_customLogFile.isEmpty()) { |   if (!s_customLogFile.isEmpty()) { | ||||||
|     QFile log_file(s_customLogFile); |     QFile log_file(s_customLogFile); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue