PHP code example of cheukpang / psr-firephp-logger

1. Go to this page and download the library: Download cheukpang/psr-firephp-logger 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/ */

    

cheukpang / psr-firephp-logger example snippets

`

use Cheukpang\PsrFirePhpLogger\Logger;

$logger = new Logger();

$logger->emergency('emergency');
$logger->alert('alert');
$logger->critical('critical');
$logger->error('error');
$logger->warning('warning');
$logger->notice('notice');
$logger->info('info');
$logger->debug('debug');