Issues

ZF2-549: Zend\Log\Formatter\ErrorHandler does not handle complex events generated by error handlers

Description

When using Zend\Log\Formatter\ErrorHandler to format logs generated by an event handler, such as the ones you get when you call \Zend\Log\Logger::registerErrorHandler, a PHP Notice appears because the $event parameter is a 3-dimensional array due to the fact that the error context can be complex. I will make a pull request on github with a test case and a possible fix.

Comments

Merged in the master.