Why logs can be sent from dispatchLoopShutdown plugin as it occurs before Zend_Controller_Response_Abstract->sendResponse() and any headers haven't been sent yet ?
I init logger resource in my bootstrap
protected function _initLogger()
{
$writer = new Zend_Log_Writer_Firebug();
$logger = new Zend_Log($writer);
Zend_Registry::set('logger', $logger);
return $logger;
}
and use it from anywhere
Zend_Registry::get('logger')->debug('test');
and it works up to dispatchLoopShutdown plugin execution point...