joomla/joomla-platform — pull request #874 by okonomiyaki3000 (2012-02-14 06:41:29+00:00)
Title: new JLogger type: JLoggerCallback (issue #866)

This adds a new JLogger type that simply passes a log entry to a user defined callback function. Callback can be in any of the callback formats normally used by PHP, including lambda (available since PHP 5.3).

In order to properly support lambda functions (Closure objects), a minor modification to JLog was required.