Writing Messages Using the DiagnosticsLog Component
The DiagnosticsLog component lets you write custom messages at any point in during the execution of an automation to the RuntimeLog.txt file or Output window. The DiagnosticsLog component is dependent on the Diagnostics Configuration window’s Default and Automation log categories.
To use the DiagnosticsLog component, follow these steps.
Add the DiagnosticsLog component from the Advanced tab of the Toolbox to an automation.
Set the reporting level using the Type property
(in the Properties window). The DiagnosticsLog Type property must
be set to a level that is equal to or less restrictive than the Application
Diagnostics Level. For example, if the Application Diagnostics Level
is set at Error and the DiagnosticsLog Level property is set at Verbose,
the system will not log messages for the DiagnosticsLog component.
The Type property Off option does not disable logging for the DiagnosticsLog
component. The Mode property turns logging on or off. The Type property
is compared to the Diagnostics Configuration window Default log category
(as described above), and the Off option is the most restrictive setting
for that comparison. The Mode property turns logging on or off. The
Type property is compared to the Diagnostics Configuration window
Default log category (as described above), and the Off option is the
most restrictive setting for that comparison.
Enter the text you want written for the message using the Input Message property.
Privacy | Trademarks | Terms of Use | Feedback
Updated: 18 June 2020
© 2016 - 2020 Pegasystems Inc. Cambridge, MA All rights reserved.