PHP code example of adevpmftc / laravel-custom-logging
1. Go to this page and download the library: Download adevpmftc/laravel-custom-logging library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
adevpmftc / laravel-custom-logging example snippets
'channels' => [
'stderr' => [
'driver' => 'monolog',
'level' => env('LOG_LEVEL', 'debug'),
'handler' => StreamHandler::class,
'formatter' => Monolog\Formatter\JsonFormatter::class,
'formatter_with' => [
'ginProcessor::class],
],
],
bash
php artisan vendor:publish --provider="AdevPmftc\LaravelCustomLogging\CustomLoggingServiceProvider"