Writes a line of text to the script log. The text is written verbatim to the body of the log file produced by StartErrorLog — use it to add markers, section headings or progress notes to a log.
The text appears in the text log file only; it is not written to the workbook info worksheet (that worksheet holds LogChanges and LogDatasetCount output). StartErrorLog must have been called for the text to be captured.
Parameters
| Key | Value(s) | Description |
|---|---|---|
| method | "LogWrite" | Writes a line of text to the script log. |
| text | "..." | The text to write. Written exactly as given — no variable or token substitution is applied. |
| project | "MyProject" | Current project name. |
{
"method": "LogWrite",
"text": "--- Load step complete ---",
"project": "MyProject"
}