doctrine/DoctrineMongoDBBundle — pull request #60 by kriswallsmith (2011-12-03 20:38:15+00:00)
Title: added option to disable pretty logging

There are now three logging modes:

* off: nothing is logged
* standard: queries are logged by not formatted
* pretty: queries are formatted and logged

The `Configuration` class includes a `beforeNormalization` algorithm for backward compatibility so `true` is mapped to `standard` and `false` is mapped to `off`. If no logging mode is specified the current debug mode will be mapped through the same algorithm.

I've done this so logging can be enabled in a production environment and not incur the expense of formatting each query.