Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nathanejohnson/eprofilefilelogroute
Yii extension to log Profiling information to a file.
https://github.com/nathanejohnson/eprofilefilelogroute
Last synced: 26 days ago
JSON representation
Yii extension to log Profiling information to a file.
- Host: GitHub
- URL: https://github.com/nathanejohnson/eprofilefilelogroute
- Owner: nathanejohnson
- Created: 2014-04-11T19:18:06.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-04-12T15:24:14.000Z (over 10 years ago)
- Last Synced: 2023-03-22T11:23:18.835Z (over 1 year ago)
- Language: PHP
- Size: 148 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#Yii extension for logging profiling data to a file.
This is mostly a copy and paste of CProfileLogRoute, but instead of extending CWebRoute, it extends CFileLogRoute.
Logs time / date stamps with millisecond precision.
##Requirements
Yii 1.1 or above
##Usage
Drop this class into your extensions directory, make sure that it's imported either explicitly'import' => array('extensions.EProfileFileLogRoute')
or implicitly
'import' => array('extensions.*')
Here is an example configuration:
'log' => array(
'class' => 'CLogRouter',
'routes' => array(
array(
'class'=>'EProfileFileLogRoute',
'categories' => 'application',
'logFile' => 'profile.log',
'groupByToken' => 'true',
'report' => 'summary'
),
),
),