mongoid/mongoid — Issue #1630: The Mongoid logger output is not pretty
Author: romanbsd
Created: 2012-01-22 21:34:12+00:00
State: open

While the AR has been enjoying a colored logger for quite a long time, the Mongoid logger is still quite boring :)

I have developed the following hack for this: https://gist.github.com/1509933
It colorizes the MONGODB with an alternating color, the collection in blue and the method with yellow.

I can put this functionality into Mongoid::Logger and send a pull request, if you're willing to include this feature.
BTW, why is "warn" handled as a special case? Are there loggers which don't support :warn ?