davidmars/chromephp
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
This fork of ChromePhp adds the possibility to add a prefix before backtraces.
USAGE
ChromePhp::getInstance()->addSetting(ChromePhp::BACKTRACE_PREXIX,"PHP file: ");
WILL TRACE...
PHP file: /home/david/public_html/mvc/_system/Boot.php @ line : 29
version 3.0
This class requires PHP 5 or later.
ChromePhp is a PHP class to go along with the ChromePhp Google Chrome extension.
This class allows you to log variables to the Chrome console.
INSTALLATION
1. Download the Chrome extension from: https://chrome.google.com/extensions/detail/noaneddfkdjfnfdakjjmocngnfkfehhd
2. Put ChromePhp.php somewhere in your PHP include path
3. Click the extension icon on the browser to enable it for the current site
3. include 'ChromePhp.php';
4. ChromePhp::log('hello world');
More information can be found here:
http://www.chromephp.com