aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-03-08 12:45:38 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-03-12 20:37:57 +0100
commit5c567604ff14700ee90701e2b21af07fde4bd0ce (patch)
tree897f79011954f91a3ce288ac3ffc74832cc5fe20
parent9dd1b768ee533545042b6e46fc9710bd39cc48d2 (diff)
gps-track: switch to $LogPrint
-rw-r--r--gps-track.rsc10
1 files changed, 5 insertions, 5 deletions
diff --git a/gps-track.rsc b/gps-track.rsc
index c40e2e0..1aeab84 100644
--- a/gps-track.rsc
+++ b/gps-track.rsc
@@ -17,7 +17,7 @@
:global GpsTrackUrl;
:global Identity;
- :global LogPrintExit2;
+ :global LogPrint;
:global ScriptLock;
:global WaitFullyConnected;
@@ -38,13 +38,13 @@
"\"lon\":\"" . ($Gps->"longitude") . "\"," . \
"\"identity\":\"" . $Identity . "\"" . \
"}") as-value;
- $LogPrintExit2 debug $ScriptName ("Sending GPS data in " . $CoordinateFormat . " format: " . \
+ $LogPrint debug $ScriptName ("Sending GPS data in " . $CoordinateFormat . " format: " . \
"lat: " . ($Gps->"latitude") . " " . \
- "lon: " . ($Gps->"longitude")) false;
+ "lon: " . ($Gps->"longitude"));
} on-error={
- $LogPrintExit2 warning $ScriptName ("Failed sending GPS data!") false;
+ $LogPrint warning $ScriptName ("Failed sending GPS data!");
}
} else={
- $LogPrintExit2 debug $ScriptName ("GPS data not valid.") false;
+ $LogPrint debug $ScriptName ("GPS data not valid.");
}
} on-error={ }