Laravel Monolog handler for https://pachca.com
- php 7.3 and above
- Laravel 8
composer require docentbf/laravel-pachca-logger
-
Add
LOG_PACHCA_WEBHOOKinto your.envfile. -
Add config to
channelssection in configuration fileconfig/logging.php:
'pachca' => [
'driver' => 'custom',
'via' => \DocentBF\LaravelPachcaLogger\PachcaLogger::class,
'webhookUrl' => env('LOG_PACHCA_WEBHOOK'),
'level' => env('LOG_LEVEL', 'debug')
]