Log [discord] is not defined.
Closed this issue · 2 comments
elizandropacheco commented
even following all the steps in the README, the application displays the error:
Log [discord] is not defined.
Any idea?
Chrisx84 commented
// 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
elizandropacheco commented
Tkz.