global: give script or function name in log messages

This commit is contained in:
Christian Hesse 2021-02-22 15:14:10 +01:00
parent b0e52aa2d1
commit f46db91845
46 changed files with 262 additions and 212 deletions

View file

@ -1,6 +1,6 @@
#!rsc by RouterOS
# RouterOS script: script-updates
:global LogPrintExit;
:global LogPrintExit2;
$LogPrintExit warning ("This script has been replaced by function '\$ScriptInstallUpdate'.") true;
$LogPrintExit2 warning "script-updates" ("This script has been replaced by function '\$ScriptInstallUpdate'.") true;