PHP code example of fadilxcoder / chrome-php-logger
1. Go to this page and download the library: Download fadilxcoder/chrome-php-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/ */
fadilxcoder / chrome-php-logger example snippets
...
use Logger\Chrome\ChromePhp;
...
class User {
....
ChromePhp::log('hello world');
ChromePhp::log($_SERVER);
ChromePhp::warn('something went wrong!');
...
}