PHP code example of zurborg / cake-log-engine-radis

1. Go to this page and download the library: Download zurborg/cake-log-engine-radis 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/ */

    

zurborg / cake-log-engine-radis example snippets


use \Cake\Log\Log;

Log::config('default', [
    'engine' => 'Radis',
    'server' => 'foo:123',
    'queue' => 'test',
]);

Log::info('foobar');