> For the complete documentation index, see [llms.txt](https://appmaster.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://appmaster.gitbook.io/docs/business-logic/block/functions/miscellaneous/write-to-log.md).

# Write to Log

Writes any value to the deployment logs (found in the Stats & Logs tab).

![](https://3563768697-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MapxHzVskQ_27pNUTT4%2F-Miaxv4jOezbL8fo2vYE%2F-Miayv_aU4rP7iOv-kAv%2FCleanShot%202021-09-02%20at%2017.46.23.gif?alt=media\&token=69fcce65-5e33-4dd1-82fc-b3d5cbf00d59)

### Flow Connections <a href="#flow-connections" id="flow-connections"></a>

* \[Input] In - starts the block's execution.
* \[Output] Out - activates when the block has finished its execution.

### Data Connections <a href="#data-connections" id="data-connections"></a>

* \[Input] Label (string) - label for the log entry.
* \[Input] Input (any) - value to write to the logs.
