global-functions: $LogPrintExit: add deprecation warning

This commit is contained in:
Christian Hesse 2021-04-26 16:40:02 +02:00
parent 625d1dda12
commit 96613e9bdd

View file

@ -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;
}