Seldaek/monolog — pull request #135 by favrik (2012-12-12 09:25:16+00:00)
Title: Allow override of log record key/values

Why?

This allows you to set arbitrary `$record` keys on classes extending Monolog. This is particularly interesting when using services like loggly that can receive JSON formatted logs (http://loggly.com/blog/2011/06/on-the-way-to-impressive/) .

You can already do this in a child class, however, you need to override the full `addRecord()` method which may break on Monolog updates.

It's possible I'm missing something but; after reviewing handlers. processors and formatters; there doesn't seem to be an easy/clean way to do this. Thoughts?

Thanks!