## LoggerAppenderFirePHP

`LoggerAppenderFirePHP` logs events via the FirePHP serverside library. The messages are logged in HTTP headers and can be viewed using the Developer compainion plugin for Firefox.

Requires the FirePHP server-side library 1.0 or greater. Download it from here.

Warning! This appender is still experimental. Behaviour may change in future versions without notification.

### Layout

This appender requires a layout. If no layout is specified in configuration, `LoggerLayoutSimple` will be used by default.

### Parameters

The following parameters are available:

Parameter | Type | Required | Default | Description
--- | --- | --- | --- | ---
target | string | No | page | The target to which messages will be sent. Possible options are 'page' (default), 'request', 'package' and 'controller'. For more details, see FirePHP documentation.

### Examples

Sample configuration:

- XML
- PHP

    <configuration xmlns="http://logging.apache.org/log4php/">
        <appender name="default" class="LoggerAppenderFirePHP">
            <layout class="LoggerLayoutSimple" />
        </appender>
        <root>
            <appender_ref ref="default" />
        </root>
    </configuration>

    array(
        'appenders' => array(
            'default' => array(
                'class' => 'LoggerAppenderFirePHP',
                'layout' => array(
                    'class' => 'LoggerLayoutSimple',
                ),
            ),
        ),
        'rootLogger' => array(
            'appenders' => array('default'),
        ),
    );