Skip to content
Zend Framework example page with Firebug logger
PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
application
docs
public
tests
.gitignore
.zfproject.xml
README.textile

README.textile

Zend Framework Examples

Firebug logging

In indexController set:

$writer = new Zend_Log_Writer_Firebug();

$log = new Zend_Log($writer);

// messages
$log->log($_REQUEST, Zend_Log::ERR);
$log->log($_ENV, Zend_Log::ALERT);
$log->log($_SERVER, Zend_Log::ALERT);

Something went wrong with that request. Please try again.