Log Entry Step
The Run Tool has the capability to write entries to the log of your project.
To add an entry to the Log when your Run Tool Project runs, click onto the Add Step button and select Log Entry from the list. Enter in a name for the step and click OK.
Configuration
This will then open the configuration window where you can enter the message and trace to be written to the log and set the severity. Once you are done click OK to add the step to your project.
Setting | Description |
---|---|
Severity | Select the severity the message should be. Either Information, Warning or Error. |
Category | Define a category for the log message. This is user defined and will appear in the step column of the log. |
Message | The message to be written to the log. This should not exceed 500 characters. |
Trace | Can be used to output longer messages to the output window of the log. |
The step will then be added to the bottom of your project, move this to where you need it to be, set the run condition and save the project.
Example
If we take the below example where we are calling a User Setting called MyPath in both the message and trace:
When this step runs it will output the message defined to the log, which will look like the following: