When Enable Logging is checked, the Event Log will create a record of events that occur in the model. It is useful for seeing the order in which certain events took place. For each event that happens in the model, multiple entries may be made in the Event Log to explain what happened during that event. These multiple entries will all have the same time and all be logged simultaneously when you press the Step button. The event log will be cleared when the model is reset.
Some exceptions will be recorded in the event log. The entry immediately preceeding the exception entry will give you a clue as to where the code is that caused the exception to happen. This is particularly useful if the exception was caused by improper code in an object's trigger. More information about the exception may be available in the System Console. The model may not be behaving correctly if there are exceptions happening in the code.
The Event Log is accessed from the Debug menu on the main toolbar.
The Event Log has the following properties:
This will enable or disable event logging. The model will run much slower when logging is enabled so you should disable logging when you are finished using the event log.
If you only want to log a specific time period, you can enter a start time for when the logging will begin. This will automatically be applied after editing this field without having to reset and rerun the model.
Optionally, you can specify an end time for when you want the logging to stop. If the end time is less than or equal to the start time, it will be ignored.
Within the settings window, you can set up which events should be recorded in the event log. Events that have already been recorded will not be affected by changing these settings. Events that occur after changing these settings will only be recorded if they are enabled here.
This will export the Event Log as a csv file. If will only export valid events, ignoring any events that have been filtered out.
The table has the following properties:
The Event Log can be filtered based on the Time, Event, Object and Involved columns. Columns with an active filter will display a . To add/edit a filter, left-click on the header name for the desired filter. Event log entries that are no longer displayed because they have been filtered will not be exported with the Export button.
It has the following properties: