dev-master
9999999-devprofile db queries using firephp
MIT
The Requires
- php >=5.4.0
- firephp/firephp-core >=0.4.0
- yiisoft/yii2 *
by Alex Tarasenko
log profile logging yii2 yii profiling firebug firephp
Wallogit.com
2017 © Pedro Peláez
profile db queries using firephp
FirePHP log target for YII2, (*1)
If it does not work, try adding "ob_start ()" in index.php, (*2)
composer.json, (*3)
"require": {
"codeexpert/yii2-firephp": "0.1.*@dev"
},
config file:, (*4)
$config = [
'components' => [
'log' => [
'targets' => [
'firephp' => [
'class' => 'codeexpert\log\FirePHPTarget',
]
],
],
],
];
anywhere:, (*5)
\Yii::info('Hello, I am info message', 'test1');
\Yii::warning('Hello, I am warning message', 'test2');
\Yii::error('Hello, I am error message', 'test3');
\Yii::info(array('a'=>'b', 'c'=>'d'), 'array test');
profile db queries using firephp
MIT
log profile logging yii2 yii profiling firebug firephp