---
url: /process-functions/script-log.md
description: Writes a message to the process log.
---

# script.log

Writes a message to the process log, to debug or report progress. It works the same as [console.log](/process-functions/console-log).

```js
script.log(outputText)
```

## Parameters

| Parameter | Type | Description |
|---|---|---|
| `outputText` | `string` | The text to write. |

## Examples

```js
script.log('The processes has commenced');
```

## Related

* [console.log](/process-functions/console-log)
