ILogic logging
ILogic logging is supported in engines starting with 2019. This feature allows you to see iLogic Logger entries, iLogic engine events and failures. All iLogic specific logger events start with the “[iLogic]” prefix.
By default the log level is set to Warning. This will ensure that the log will not get too chatty. However, you can easily change the log level in your iLogic scripts. The scope of this setting is global. Once you set it to Trace for example, you will be able to see all the details of iLogic engine running your scripts - like what triggered the iLogic rule and what the rule’s name is.
In order to change the logging level you simply use this code inside of your iLogic script.
iLogicVb.Automation.LogControl.Level = LogLevel.Trace
The available log levels are:
LogLevel.None
LogLevel.Trace
LogLevel.Info
LogLevel.Debug
LogLevel.Warn
LogLevel.Error
LogLevel.Fatl
To log information/warning/error etc. you then simply call
Logger.<log level>("Logger Info")