-- sasezaki <sasez...@gmail.com> wrote (on Friday, 03 August 2012, 06:11 PM +0900): > With latest zf2, I got unexpected result. > > code: > <?php > $logger = new Zend\Log\Logger; > $logger->addWriter('stream', 1, ['php://memory']);
Try this instead: $logger->addWriter('stream', 1, [ 'stream' => 'php://memory', 'mode' => 'a', ]); <snip> > Is removed creating instance from options as newInstanceArgs? > Do I miss information about latest plugin architecture? Correct -- newInstanceArgs is no longer used; instead the array is passed as an argument to the constructor. (This was changed to make it more consistent with other components that have plugins in the framework, and done prior to rc1.) -- Matthew Weier O'Phinney Project Lead | matt...@zend.com Zend Framework | http://framework.zend.com/ PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc -- List: fw-general@lists.zend.com Info: http://framework.zend.com/archives Unsubscribe: fw-general-unsubscr...@lists.zend.com