addWorkunitWarning STD.System.Log.addWorkunitWarning STD.System.Log.addWorkunitWarning System.Log.addWorkunitWarning Log.addWorkunitWarning addWorkunitWarning ( text [ , code ] ) text A string containing the text to write. code Optional. The code number to associate with the text. If omitted, the default is zero (0). Return: addWorkunitWarning does not return a value. The addWorkunitWarning function writes the text string to the eclagent.log file for the workunit, and also displays the code and text in the Syntax Errors toolbox along with the Warnings section of the ECL Watch page for the workunit. Example: IMPORT STD; STD.System.Log.addWorkunitWarning('Got Here',1); //write text to log and display "1: Got Here" in Warnings