No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 336e7b2 Jan 28, 2015
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_build ChromePHP 1.1.0 Jan 28, 2015
_packages ChromePHP 1.1.0 Jan 28, 2015
core/components/chromephp Bump version 1.1.0 Jul 16, 2014
.gitignore ChromePHP 1.1.0 Jan 28, 2015
README.md Update README.md Apr 17, 2013
image.jpg Readme update Apr 16, 2013

README.md

ChromePHP

Install Chrome Logger extension from Chrome Store

Install the ChromePHP package, builded package can be found in _packages folder.

Turn on Chrome Logger (blue icon indicates that Chrome Logger is turned on).

Start logging.

Examples

Log types

$this->modx->chromephp->log('Test log');
$this->modx->chromephp->warn('Test warn');
$this->modx->chromephp->error('Test error');

Group log

$this->modx->chromephp->group('Group');
$this->modx->chromephp->log('Log in group', ' Next log in group');
$this->modx->chromephp->warn($this->modx->getObject('modResource', 1));
$this->modx->chromephp->groupEnd();

Collapsed group log

$this->modx->chromephp->groupCollapsed('Collapsed group');
$this->modx->chromephp->log('Log in collapsed group');
$this->modx->chromephp->groupEnd();