PHP code example of starring-jane / logging

1. Go to this page and download the library: Download starring-jane/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/ */

    

starring-jane / logging example snippets


'channels' => [
    ...
    'starringjane' => [
        'driver' => 'custom',
        'via' => \StarringJane\Logging\Logging\LoggerChannel::class,
        'level' => 'notice',
    ],
    ...
],
bash
php artisan vendor:publish --provider="StarringJane\Logging\LoggingServiceProvider" --tag="config"