-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
-
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