marvinlabs/laravel-discord-logger

Log [discord] is not defined.

Closed this issue · 2 comments

even following all the steps in the README, the application displays the error:

Log [discord] is not defined.

Any idea?

// config/logging.php
'channels' => [
//...
'discord' => [
'driver' => 'custom',
'via' => MarvinLabs\DiscordLogger\Logger::class,
'level' => 'debug',
'url' => env('LOG_DISCORD_WEBHOOK_URL'),
],
];
Gotta put that in your logging config