src/Debug/Output/Firephp.php
public function onOutput(Event $event)
    {
        $this->outputEvent = $event;
        $this->channelName = $this->debug->getCfg('channel');
        $this->data = $this->debug->getData();
        $event['headers'][] = array('X-Wf-Protocol-1', 'http://meta.wildfirehq.org/Protocol/JsonStream/0.2');
        $event['headers'][] = array('X-Wf-1-Plugin-1', 'http://meta.firephp.org/Wildfire/Plugin/FirePHP/Library-FirePHPCore/'.self::FIREPHP_PROTO_VER);
        $event['headers'][] = array('X-Wf-1-Structure-1', 'http://meta.firephp.org/Wildfire/Structure/FirePHP/FirebugConsole/0.1');
        $heading = isset($_SERVER['REQUEST_METHOD'])
            ? $_SERVER['REQUEST_METHOD'].' '.$_SERVER['REQUEST_URI']
            : '$: '. \implode(' ', $_SERVER['argv']);
        $this->processLogEntryWEvent('groupCollapsed', array('PHP: '.$heading));
        $this->processAlerts();
        $this->processSummary();
        $this->processLog();
        $this->processLogEntryWEvent('groupEnd');
        $event['headers'][] = array('X-Wf-1-Index', $this->messageIndex);
        $this->data = array();
        return;
    }
public function onOutput(Event $event)
    {
        $this->outputEvent = $event;
        $this->channelName = $this->debug->getCfg('channel');
        $this->data = $this->debug->getData();
        $event['headers'][] = array('X-Wf-Protocol-1', 'http://meta.wildfirehq.org/Protocol/JsonStream/0.2');
        $event['headers'][] = array('X-Wf-1-Plugin-1', 'http://meta.firephp.org/Wildfire/Plugin/FirePHP/Library-FirePHPCore/'.self::FIREPHP_PROTO_VER);
        $event['headers'][] = array('X-Wf-1-Structure-1', 'http://meta.firephp.org/Wildfire/Structure/FirePHP/FirebugConsole/0.1');
        $heading = isset($_SERVER['REQUEST_METHOD'])
            ? $_SERVER['REQUEST_METHOD'].' '.$_SERVER['REQUEST_URI']
            : '$: '. \implode(' ', $_SERVER['argv']);
        $this->processLogEntryWEvent('groupCollapsed', array('PHP: '.$heading));
        $this->processAlerts();
        $this->processSummary();
        $this->processLog();
        $this->processLogEntryWEvent('groupEnd');
        $event['headers'][] = array('X-Wf-1-Index', $this->messageIndex);
        $this->data = array();
        return;
    }
Output the log via FirePHP headers

@param Event $event debug.output event object

@return void