Zend Framework example page with Firebug logger
PHP
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
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);