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


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.


Merged in the master.