> For the complete documentation index, see [llms.txt](https://docs.quantum-studios.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.quantum-studios.net/qtm-lib/server-functions/log/create.md).

# Create

```etlua
Log.Log(source, event, message, hook)
```

### Arguments

| Argument | Data Type | Optional | Explanation                                         |
| -------- | --------- | -------- | --------------------------------------------------- |
| source   | string    | no       | Player source                                       |
| event    | string    | no       | Event that was triggered, gets displayed in the log |
| message  | string    | no       | the rest of the log message                         |
| hook     | string    | yes      | Discord webhook if using Discord 🤮                 |
