zendframework/zf2 — pull request #6137 by dkemper (2014-04-14 22:16:40+00:00)
Title: Zend\Log\Formatter\Xml improvement to handle extra data array

I found out, that the \Zend\Log\Formatter\Xml doesn´t support "extra" information, when its a extra data is an array. I made an example to show my little change.

Hope its useful.

Example-Code:
```php
$stream = new \Zend\Log\Writer\Stream('data/log/application.log');
$stream->setFormatter(new \Zend\Log\Formatter\Xml());
$logger = new \Zend\Log\Logger();
$logger->addProcessor(new \Zend\Log\Processor\Backtrace());
$logger->addWriter($stream);

$logger->info('wrong stuff');
````

before:

```xml

2014-04-14T23:40:17+02:00
6
INFO
wrong stuff

```

after:
```xml

2014-04-14T23:40:17+02:00
6
INFO
wrong stuff

/home/project/module/App/src/App/Controller/ConsoleController.php 51
App\Controller\ConsoleController
loggerTestAction

```