Part of the EllisLab Network
x
 
Create New Page
 View Previous Changes    ( Last updated by pedro_sland )

FirePHP Log

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 :)

Category:Contributions -> Libraries -> Miscallenous