PHP code example of bkstar123 / log-enhancer

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

    

bkstar123 / log-enhancer example snippets


DebugLog::log('info', "Hello {n}", ['n' => 'Antony Hoang'])
BKSTAR123_LOG_ENHANCER_LOG_NAME
BKSTAR123_LOG_ENHANCER_TO_BROWSER_CONSOLE=true