A Discord based Monolog driver for Laravel
lexor/laravel-logger-discord-channel is a Laravel package for a discord based monolog driver for laravel.
It currently has 0 GitHub stars and 14 downloads on Packagist.
Install it with composer require lexor/laravel-logger-discord-channel.
Discover more Laravel packages by lexor
or browse all Laravel packages to compare alternatives.
Last updated
composer require lexor/laravel-logger-discord-channel:dev-master
Add the new driver type in your config/logging.php configuration
'channels' => [
'discord' => [
'driver' => 'custom',
'via' => Lexor\LoggerDiscordChannel\DiscordLogger::class,
'webhook' => 'https://discordapp.com/api/webhooks/.....',
'level' => 'DEBUG',
'role_id' => null, // role to tag in the error
],
],