fridge-project/dbal-bundle — pull request #6 by egeloen (2012-12-24 13:54:11+00:00)
Title: Allow to debug queries through the Profiler

The DBAL debugs queries if there is a Logger Handler configured on the DEBUG canal (explain [here](https://github.com/fridge-project/dbal-docs/blob/master/cookbook/debugging.rst))

IMO, this feature should be used by the bundle & collected informations should be accessible through the profiler.

For the implementation part, I think we should add a `DebugHandler` class which can be added to a connection logger. These handlers simply collects logged records to a stack & then, we can use these stacks for populating datas in the profiler.