global-functions: $LogPrintExit2: add deprecation warning

This commit is contained in:
Christian Hesse 2024-03-15 14:42:50 +01:00
parent 2cf4f333d4
commit 576a2c97cf

View file

@ -703,6 +703,10 @@
:local Exit [ :tostr $4 ];
:global LogPrint;
:global LogPrintOnce;
$LogPrintOnce warning $0 \
("This function is deprecated and will be removed. Please make your adjustments!");
$LogPrint $1 $2 $3;