Package to auto-send the logs to a Discord server.
Via Composer
$ composer require restray/discordlogger
Publish the configuration :
php artisan vendor:publish --provider=Restray\\DiscordLogger\\Providers\\MonologDiscordServiceProvider
Add the driver to logging file :
'channels' => [
...,
'discord' => [
'driver' => 'monolog',
'handler' => Restray\DiscordLogger\Handler\DiscordHandler::class
],
'discord-single' => [
'driver' => 'stack',
'channels' => ['single', 'discord'],
],
...,
],
Use the Driver on all of your project :
In your .env :
LOG_CHANNEL=discord-single
Please see the changelog for more information on what has changed recently.
$ composer test
Please see contributing.md for details and a todolist.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Apache2.0. Please see the license file for more information.