--- title: "LogWrite" slug: "logwrite" updated: 2026-06-23T14:55:11Z published: 2026-06-23T14:55:11Z canonical: "docs.datajet.app/logwrite" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.datajet.app/llms.txt > Use this file to discover all available pages before exploring further. # LogWrite Writes a line of text to the script log. The text is written verbatim to the body of the log file produced by [StartErrorLog](/v1/docs/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](/v1/docs/logchanges-1) and [LogDatasetCount](/v1/docs/logdatasetcount) output). [StartErrorLog](/v1/docs/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. | ```json { "method": "LogWrite", "text": "--- Load step complete ---", "project": "MyProject" } ``` ## See also - [LogDatasetCount](/v1/docs/logdatasetcount) - [LogChanges](/v1/docs/logchanges-1) - [StartErrorLog](/v1/docs/starterrorlog) - [Deep Dive – Error Handling in Scripts](/v1/docs/deep-dive-error-handling-in-scripts)