# log

Append messages to the script log.

```js
log(...values)
```

## Arguments

| Argument | Type | Meaning |
| --- | --- | --- |
| `values` | any | Values converted to text; stringify objects explicitly. |

## Returns

No return value (`undefined`).

## Example

```js
console.log("step", JSON.stringify({name: "open", ok: true}));
```

## Also available as

`console.log`, `console.warn`, `console.error`.

[All JavaScript APIs](https://mcp.applesauceos.com/doc/api.md) · [Automation playbook](https://mcp.applesauceos.com/doc/ai.md)
