1. Go to this page and download the library: Download theorchard/monolog-cascade 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/ */
theorchard / monolog-cascade example snippets
use Cascade\Cascade;
// configure your loggers
Cascade::fileConfig('path/to/some/config.yaml');
// or use php array
$config =
Cascade::getLogger('myLogger')->info('Well, that works!');
Cascade::getLogger('myLogger')->error('Maybe not...');