forked from bcit-ci/CodeIgniter
-
Notifications
You must be signed in to change notification settings - Fork 26
FirePHP Log
Derek Jones edited this page Jul 5, 2012
·
4 revisions
This is a placeholder for a replacement class (CI_Log) that enables logging to FirePHP as well as firebug. To use it, just add my class to app/libraries and upload FirePHP.class.php to app/libraries/FirePHPCore. This means that the controller does not need to extend another class etc.
The FirePHP class can be referenced from the controller by $this->fire eg. $this->fire->log('Testing ...');
Anything logged with the CI_Log (and log_message() ), depending on the logging setting specified in the config, will also be logged to the console :)