The Mongoid logger output is not pretty

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • 12_01_17
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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 ?

              Assignee:
              Unassigned
              Reporter:
              Roman
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: