mirror of
https://github.com/lora-aprs/LoRa_APRS_iGate.git
synced 2026-03-01 11:04:45 +01:00
Debug for using logger.
This commit is contained in:
parent
d0deb99668
commit
2ce81ed3f2
|
|
@ -95,7 +95,7 @@ void BeaconTask::setBeacon(System &system) {
|
|||
}
|
||||
_beaconMsg->getBody()->setData(String("=") + create_lat_aprs(lat) + "L" + create_long_aprs(lng) + "&" + system.getUserConfig()->beacon.message);
|
||||
|
||||
system.getLogger().log(logging::LoggerLevel::LOGGER_LEVEL_INFO, getName(), "[%s]%s", timeString(), _beaconMsg->encode());
|
||||
system.getLogger().log(logging::LoggerLevel::LOGGER_LEVEL_INFO, getName(), "[%s]%s", timeString().c_str(), _beaconMsg->encode().c_str());
|
||||
|
||||
if (system.getUserConfig()->aprs_is.active)
|
||||
_toAprsIs.addElement(_beaconMsg);
|
||||
|
|
|
|||
Loading…
Reference in a new issue