ZF2-453: Logger xml formatter not accepting arrays (from extra params)
taken from rtfd: $writer = new Zend\Log\Writer\Stream('php://output'); $formatter = new Zend\Log\Formatter\Xml(); $writer->setFormatter($formatter);
$logger = new Zend_Log(); $logger->addWriter($writer); $logger->info('informational message');
This causes an array to string conversion notice error in the xml file line 157: $elt->appendChild(new DOMElement($key, (string)$value));
The extra params are passed as an array. I think this code comes directly from the config xml writer, as that suffers from exactly the same problem.