mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 06:30:05 +00:00 
			
		
		
		
	Update detailed serial port and GPS logging from debug to trace
This commit is contained in:
		
							parent
							
								
									d4515f08e0
								
							
						
					
					
						commit
						44698a593f
					
				
					 2 changed files with 10 additions and 10 deletions
				
			
		|  | @ -139,7 +139,7 @@ void PositionManager::Impl::CreatePositionSource() | ||||||
| 
 | 
 | ||||||
|                           if (coordinate != position_.coordinate()) |                           if (coordinate != position_.coordinate()) | ||||||
|                           { |                           { | ||||||
|                              logger_->debug("Position updated: {}, {}", |                              logger_->trace("Position updated: {}, {}", | ||||||
|                                             coordinate.latitude(), |                                             coordinate.latitude(), | ||||||
|                                             coordinate.longitude()); |                                             coordinate.longitude()); | ||||||
|                           } |                           } | ||||||
|  |  | ||||||
|  | @ -186,13 +186,13 @@ int SerialPortDialog::baud_rate() | ||||||
| 
 | 
 | ||||||
| void SerialPortDialog::Impl::LogSerialPortInfo(const QSerialPortInfo& info) | void SerialPortDialog::Impl::LogSerialPortInfo(const QSerialPortInfo& info) | ||||||
| { | { | ||||||
|    logger_->debug("Serial Port:    {}", info.portName().toStdString()); |    logger_->trace("Serial Port:    {}", info.portName().toStdString()); | ||||||
|    logger_->debug("  Description:  {}", info.description().toStdString()); |    logger_->trace("  Description:  {}", info.description().toStdString()); | ||||||
|    logger_->debug("  System Loc:   {}", info.systemLocation().toStdString()); |    logger_->trace("  System Loc:   {}", info.systemLocation().toStdString()); | ||||||
|    logger_->debug("  Manufacturer: {}", info.manufacturer().toStdString()); |    logger_->trace("  Manufacturer: {}", info.manufacturer().toStdString()); | ||||||
|    logger_->debug("  Vendor ID:    {}", info.vendorIdentifier()); |    logger_->trace("  Vendor ID:    {}", info.vendorIdentifier()); | ||||||
|    logger_->debug("  Product ID:   {}", info.productIdentifier()); |    logger_->trace("  Product ID:   {}", info.productIdentifier()); | ||||||
|    logger_->debug("  Serial No:    {}", info.serialNumber().toStdString()); |    logger_->trace("  Serial No:    {}", info.serialNumber().toStdString()); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void SerialPortDialog::Impl::RefreshSerialDevices() | void SerialPortDialog::Impl::RefreshSerialDevices() | ||||||
|  | @ -326,7 +326,7 @@ void SerialPortDialog::Impl::ReadComPortProperties( | ||||||
|       properties.busReportedDeviceDescription_ = GetDevicePropertyString( |       properties.busReportedDeviceDescription_ = GetDevicePropertyString( | ||||||
|          deviceInfoSet, deviceInfoData, DEVPKEY_Device_BusReportedDeviceDesc); |          deviceInfoSet, deviceInfoData, DEVPKEY_Device_BusReportedDeviceDesc); | ||||||
| 
 | 
 | ||||||
|       logger_->debug( |       logger_->trace( | ||||||
|          "Port: {} ({})", portName, properties.busReportedDeviceDescription_); |          "Port: {} ({})", portName, properties.busReportedDeviceDescription_); | ||||||
| 
 | 
 | ||||||
|       portPropertiesMap.emplace(portName, std::move(properties)); |       portPropertiesMap.emplace(portName, std::move(properties)); | ||||||
|  | @ -422,7 +422,7 @@ void SerialPortDialog::Impl::ReadComPortSettings( | ||||||
| 
 | 
 | ||||||
|             std::string portData = buffer; |             std::string portData = buffer; | ||||||
| 
 | 
 | ||||||
|             logger_->debug("Port Settings: {} ({})", portName, portData); |             logger_->trace("Port Settings: {} ({})", portName, portData); | ||||||
| 
 | 
 | ||||||
|             StorePortSettings(portName, portData, portSettingsMap); |             StorePortSettings(portName, portData, portSettingsMap); | ||||||
|          } |          } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat