The LOG directive logs a message of the severity specified by the script. Four levels of severity can be stated, in escalating order: INFO, WARNING, ERROR and DEBUG.
LOG can be used in Action-Command attributes and Trigger-Command attributes. If you try to use LOG in other attributes, it will generate a script Error and appear in red in the Job Details Viewer's Process Log page.
Log messages are written to the Custom Log tab in the Job Details Viewer window.
...