PHP code example of fluffy / monolog-cascade-namespaced
1. Go to this page and download the library: Download fluffy/monolog-cascade-namespaced 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/ */
fluffy / monolog-cascade-namespaced example snippets
use CascadeNamespaced\CascadeNamespaced;
CascadeNamespaced::fileConfig('path/to/some/config.yaml');
CascadeNamespaced::getLogger(get_called_class())->info('Info message.');