l3pp4rd/DoctrineExtensions — Issue #204: Make LoggableListener more extensible
Author: kbond
Created: 2011-12-13 20:23:38+00:00
State: open

I have a custom ``LogEntry`` class that has some extra fields. I currently have to override the ``LoggableListener:onFlush()`` to call a duplicated ``LoggableListener:createLogEntry()`` in order to set these custom fields. It would be nice if there was a hook or something. Maybe a protected ``LoggableListener:buildLogEntry()``?

Thoughts?