> For the complete documentation index, see [llms.txt](https://docs.streamavatars.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.streamavatars.com/lua-scripting-api/api-reference-and-tips/global-functions/log.md).

# log

{% hint style="success" %}
To view the console log, focus Stream Avatars, and press Alt+C, then type: Lua\
After hitting enter, a console logger will come up showing you the logs.\
Once it is open, you can close the command input by pressing Alt+C again.

You can close the console log by repeating this process.
{% endhint %}

```lua
return function()
    log('hello world');
end
```
