mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 18:10:05 +00:00 
			
		
		
		
	Suppressing some logging
This commit is contained in:
		
							parent
							
								
									30fadcfbb6
								
							
						
					
					
						commit
						63c0034b64
					
				
					 7 changed files with 11 additions and 6 deletions
				
			
		|  | @ -1,9 +1,14 @@ | ||||||
| #include "main_window.hpp" | #include "main_window.hpp" | ||||||
| 
 | 
 | ||||||
|  | #include <boost/log/expressions.hpp> | ||||||
|  | #include <boost/log/trivial.hpp> | ||||||
| #include <QApplication> | #include <QApplication> | ||||||
| 
 | 
 | ||||||
| int main(int argc, char* argv[]) | int main(int argc, char* argv[]) | ||||||
| { | { | ||||||
|  |    boost::log::core::get()->set_filter(boost::log::trivial::severity >= | ||||||
|  |                                        boost::log::trivial::debug); | ||||||
|  | 
 | ||||||
|    QApplication         a(argc, argv); |    QApplication         a(argc, argv); | ||||||
|    scwx::qt::MainWindow w; |    scwx::qt::MainWindow w; | ||||||
|    w.show(); |    w.show(); | ||||||
|  |  | ||||||
|  | @ -75,7 +75,7 @@ uint16_t ClutterFilterMap::end_range(uint16_t e, uint16_t a, uint16_t z) const | ||||||
| 
 | 
 | ||||||
| bool ClutterFilterMap::Parse(std::istream& is) | bool ClutterFilterMap::Parse(std::istream& is) | ||||||
| { | { | ||||||
|    BOOST_LOG_TRIVIAL(debug) |    BOOST_LOG_TRIVIAL(trace) | ||||||
|       << logPrefix_ << "Parsing Clutter Filter Map (Message Type 15)"; |       << logPrefix_ << "Parsing Clutter Filter Map (Message Type 15)"; | ||||||
| 
 | 
 | ||||||
|    bool     messageValid         = true; |    bool     messageValid         = true; | ||||||
|  |  | ||||||
|  | @ -605,7 +605,7 @@ DigitalRadarData::moment_data_block(DataBlockType type) const | ||||||
| 
 | 
 | ||||||
| bool DigitalRadarData::Parse(std::istream& is) | bool DigitalRadarData::Parse(std::istream& is) | ||||||
| { | { | ||||||
|    BOOST_LOG_TRIVIAL(debug) |    BOOST_LOG_TRIVIAL(trace) | ||||||
|       << logPrefix_ << "Parsing Digital Radar Data (Message Type 31)"; |       << logPrefix_ << "Parsing Digital Radar Data (Message Type 31)"; | ||||||
| 
 | 
 | ||||||
|    bool   messageValid = true; |    bool   messageValid = true; | ||||||
|  |  | ||||||
|  | @ -1823,7 +1823,7 @@ uint16_t PerformanceMaintenanceData::version() const | ||||||
| 
 | 
 | ||||||
| bool PerformanceMaintenanceData::Parse(std::istream& is) | bool PerformanceMaintenanceData::Parse(std::istream& is) | ||||||
| { | { | ||||||
|    BOOST_LOG_TRIVIAL(debug) |    BOOST_LOG_TRIVIAL(trace) | ||||||
|       << logPrefix_ << "Parsing Performance/Maintenance Data (Message Type 3)"; |       << logPrefix_ << "Parsing Performance/Maintenance Data (Message Type 3)"; | ||||||
| 
 | 
 | ||||||
|    bool   messageValid = true; |    bool   messageValid = true; | ||||||
|  |  | ||||||
|  | @ -1267,7 +1267,7 @@ float RdaAdaptationData::txb_alarm_thresh() const | ||||||
| 
 | 
 | ||||||
| bool RdaAdaptationData::Parse(std::istream& is) | bool RdaAdaptationData::Parse(std::istream& is) | ||||||
| { | { | ||||||
|    BOOST_LOG_TRIVIAL(debug) |    BOOST_LOG_TRIVIAL(trace) | ||||||
|       << logPrefix_ << "Parsing RDA Adaptation Data (Message Type 18)"; |       << logPrefix_ << "Parsing RDA Adaptation Data (Message Type 18)"; | ||||||
| 
 | 
 | ||||||
|    bool   messageValid = true; |    bool   messageValid = true; | ||||||
|  |  | ||||||
|  | @ -233,7 +233,7 @@ uint16_t RdaStatusData::status_version() const | ||||||
| 
 | 
 | ||||||
| bool RdaStatusData::Parse(std::istream& is) | bool RdaStatusData::Parse(std::istream& is) | ||||||
| { | { | ||||||
|    BOOST_LOG_TRIVIAL(debug) |    BOOST_LOG_TRIVIAL(trace) | ||||||
|       << logPrefix_ << "Parsing RDA Status Data (Message Type 2)"; |       << logPrefix_ << "Parsing RDA Status Data (Message Type 2)"; | ||||||
| 
 | 
 | ||||||
|    bool   messageValid = true; |    bool   messageValid = true; | ||||||
|  |  | ||||||
|  | @ -362,7 +362,7 @@ VolumeCoveragePatternData::doppler_prf_pulse_count_radial(uint16_t e, | ||||||
| 
 | 
 | ||||||
| bool VolumeCoveragePatternData::Parse(std::istream& is) | bool VolumeCoveragePatternData::Parse(std::istream& is) | ||||||
| { | { | ||||||
|    BOOST_LOG_TRIVIAL(debug) |    BOOST_LOG_TRIVIAL(trace) | ||||||
|       << logPrefix_ << "Parsing Volume Coverage Pattern Data (Message Type 5)"; |       << logPrefix_ << "Parsing Volume Coverage Pattern Data (Message Type 5)"; | ||||||
| 
 | 
 | ||||||
|    bool   messageValid = true; |    bool   messageValid = true; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat