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: early-errors
:global LogPrintExit;
:global LogPrintExit2;
$LogPrintExit warning ("This script has been replaced. Please migrate to 'log-forward'.") true;
$LogPrintExit2 warning "early-errors" ("This script has been replaced. Please migrate to 'log-forward'.") true;