azagoru/laravel-pachca-logging is a Laravel package for logging to a pachca in laravel.
It currently has 0 GitHub stars and 1.480 downloads on Packagist (latest version 1.0.0).
Install it with composer require azagoru/laravel-pachca-logging.
Discover more Laravel packages by azagoru
or browse all Laravel packages to compare alternatives.
Last updated
composer require azagoru/laravel-pachca-logging
Add the new driver type in your config/logging.php configuration
'channels' => [
'pachca' => [
'driver' => 'custom',
'via' => Azagoru\PachcaLogging\PachcaLogger::class,
'webhook' => env('LOG_PACHCA_WEBHOOK_URL'),
'level' => env('LOG_LEVEL', 'debug'),
'name' => env('APP_NAME') ,
'maxDepth' => env('LOG_PACHCA_MAX_DEPTH', 2),
'withTrace' => true,
'withTraceMarkup' => true,
'withTraceVendorLines' => true,
],
],
And add LOG_PACHCA_WEBHOOK_URL to your .env file.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Make sure to add or update tests as appropriate.
Use Conventional Commits for commit messages.