aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2021-04-26 16:40:02 +0200
committerGravatar Christian Hesse <mail@eworm.de>2021-04-26 16:40:02 +0200
commit96613e9bdd3fea3722ac807b01565d274bc82da0 (patch)
tree99e2924d37be1cd3ffd1fabd813800770bc4ba16
parent625d1dda120cda02977b9f306c108755336ab4ec (diff)
global-functions: $LogPrintExit: add deprecation warning
-rw-r--r--global-functions1
1 files changed, 1 insertions, 0 deletions
diff --git a/global-functions b/global-functions
index 387e4c0..855221e 100644
--- a/global-functions
+++ b/global-functions
@@ -486,6 +486,7 @@
:set LogPrintExit do={
:global LogPrintExit2;
+ $LogPrintExit2 warning $0 ("This function is deprecated. Please use \$LogPrintExit2 instead.") false;
$LogPrintExit2 $1 "unknown" $2 $3;
}