Return the newly persisted LogEntry

Eases inheriting from LoggableListener to implement additional functionality, as copy-pasting onFlush now yields the LogEntries to work on.
Merge pull request #960 from corphi/patch-1

Return the newly persisted LogEntry