[fw-general] Logging in zf2 - what is the preferred method?

2012-12-12 Thread Björn Rylander
I have an application where I want to do extensive logging to a database. I've found two methods, using the EventManager to attach events to specific class methods or registering a factory with the ServiceLocator and extract the log in the controllers and pass it to affected classes. Which method

Re: [fw-general] Combine TableGateway, RowGateway and Entity classes

2012-12-12 Thread Ralph Schindler
Can you help me reproduce this? I have this repository here: https://github.com/ralphschindler/Zend_Db-Examples That has a database already setup. I'd like to get to the bottom of that error you have there. I've used TableGateway to produce entity objects without problem, so I'd need to

Re: [fw-general] Logging in zf2 - what is the preferred method?

2012-12-12 Thread Matthew Weier O'Phinney
On Wed, Dec 12, 2012 at 10:02 AM, Björn Rylander hassl...@gmail.com wrote: I have an application where I want to do extensive logging to a database. I've found two methods, using the EventManager to attach events to specific class methods or registering a factory with the ServiceLocator and