addWorkunitInformation

STD.System.Log.addWorkunitInformation ( text [ , code ] )

textA string containing the text to write.
codeOptional. The code number to associate with the text. If omitted, the default is zero (0).
Return:addWorkunitInformation does not return a value.

The addWorkunitInformation action writes the text string to the eclagent.log file for the workunit, and also displays the code and text in the Info section of the ECL Watch page for the workunit.

Example:

IMPORT STD;
STD.System.Log.addWorkunitInformation('Got Here',1);    
   //write text to log and display "1: Got Here" as Info