PHP code example of mdariftiens / dblog

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

    

mdariftiens / dblog example snippets


        'custom' => [
            'driver' => 'custom',
            'via' => \Mdariftiens\DBlog\Services\LogMonolog::class
        ],


        'stack' => [
            'driver' => 'stack',
            'channels' => ['custom'],
            'ignore_exceptions' => true,
        ],
bash
php artisan migrate
 config/logging.php