feat: Add Discord logging support

- Added Discord webhook URL to .env.example
- Included 'marvinlabs/laravel-discord-logger' in composer.json
- Created config file for Discord logger settings
This commit is contained in:
Rico van Zelst
2024-06-03 17:07:05 +02:00
parent b65e7308de
commit ac56c13765
5 changed files with 276 additions and 2 deletions

View File

@@ -5,6 +5,8 @@ APP_DEBUG=true
APP_TIMEZONE=Europe/Amsterdam
APP_URL=http://127.0.0.1:8000
LOG_DISCORD_WEBHOOK_URL=https://discord.com/api/webhooks/
APP_LOCALE=en
APP_FALLBACK_LOCALE=en
APP_FAKER_LOCALE=en_US
@@ -36,7 +38,7 @@ HCAPTCHA_SECRET=secret-key
HCAPTCHA_SITEKEY=site-key
LOG_CHANNEL=stack
LOG_STACK=single
LOG_STACK=single,discord
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug