mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-11-04 05:50:31 -05:00 
			
		
		
		
	Handle Qt logging category when redirecting to SYSLOG channel
This commit is contained in:
		
							parent
							
								
									5f85dfac61
								
							
						
					
					
						commit
						917e87cee5
					
				@ -97,11 +97,11 @@ namespace
 | 
				
			|||||||
      }
 | 
					      }
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      {
 | 
					      {
 | 
				
			||||||
        BOOST_LOG_CHANNEL_SEV (log, std::string {context.category}, severity)
 | 
					        BOOST_LOG_SEV (log, severity)
 | 
				
			||||||
          << boost::log::add_value ("Line", context.line)
 | 
					          << boost::log::add_value ("Line", context.line)
 | 
				
			||||||
          << boost::log::add_value ("File", file)
 | 
					          << boost::log::add_value ("File", file)
 | 
				
			||||||
          << boost::log::add_value ("Function", function)
 | 
					          << boost::log::add_value ("Function", function)
 | 
				
			||||||
          << msg.toStdString ();
 | 
					          << context.category << ": " << msg.toStdString ();
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    if (QtFatalMsg == type)
 | 
					    if (QtFatalMsg == type)
 | 
				
			||||||
      {
 | 
					      {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user