Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-92

Add capabilities to define his own logger for MongoId

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

      The rails way it's to define his own logger for each part of Rails. So you can define you logger for active_record or action_mailer by example.

      It's possible to add the capabilities to MongoId ?

      Now it's only possible to use the default logger.

      It's made :

      class Application < Rails::Application
      config.mongoid.logger = Logger.new(STDOUT)
      end

            Assignee:
            Unassigned Unassigned
            Reporter:
            shingara Cyril Mougel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: