> For the complete documentation index, see [llms.txt](https://documentation.rcore.cz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.rcore.cz/paid-resources/rcore_dealership/configuration/logs.md).

# Logs

Edit `rcore_dealership/configs/config.logs.lua` to send events to Discord through webhooks.

## 🪝 Discord Webhooks

```lua
Config.Logs.Discord.Enabled = true
```

`Config.Logs.Discord.Webhooks` maps each log type to a webhook URL. It is empty by default - add a URL for each log type you want to receive.

{% hint style="warning" %}
Do not change the structure of this file. To disable a single log type, set its `url` to an empty string (`''`) instead of removing the entry.
{% endhint %}

Each entry looks like:

```lua
Config.Logs.Discord.Webhooks = {
    [Logs.SOME_EVENT] = { url = 'https://discord.com/api/webhooks/...' },
}
```
