kabbouchi/laravel-logger-discord-channel
Laravel Logger - Discord Channel
A Discord based Monolog driver for Laravel
Install
composer require kabbouchi/laravel-logger-discord-channel
Usage
Add the new driver type in your config/logging.php configuration
'channels' => [
'discord' => [
'driver' => 'custom',
'via' => KABBOUCHI\LoggerDiscordChannel\DiscordLogger::class,
'webhook' => 'https://discordapp.com/api/webhooks/.....',
'level' => 'DEBUG',
'role_id' => null, // role to tag in the error,
'environment' => 'production', // or ['production', 'staging', 'local']
],
],
Note
You may need to clear cache after installation if you get laravel.EMERGENCY: Unable to create configured logger. ... Log [discord] is not defined. with
php artisan config:clear
Related Packages
guanguans/laravel-exception-notify
Monitor exception and report to the notification channels(Log、Mail、AnPush、Bar...
48,882
149
anpush
bark
bot
chanify
dingtalk
discord
email
error
exception
gitter
googlechat
igot
laravel
lark
log
logger
mail
mattermost
microsoftteams
monitor
notification
notifier
notify
nowpush
ntfy
push
pushback
pushbullet
pushdeer
pushme
pushover
pushplus
qq
qq 频道机器人
rocketchat
sdk
serverchan
server酱
showdocpush
simplepush
slack
telegram
wework
wpush
xizhi
yifengchuanhua
zohocliq
zohocliqwebhook
zulip
一封传话
企业微信
企业微信群机器人
微信
息知
钉钉
钉钉群机器人
飞书
飞书群机器人