mongodb/mongo-ruby-driver — pull request #85 by shingara (2012-02-03 20:58:03+00:00)
Title: Add a log duration option to know time to do request on MongoDB

Hi,

The logger in mongo-ruby-driver is great, but we can't have information about time of the request do. So I add an option :log_duration to log this time if this option is true and a logger is define.

This option is false by default so it's not obstrusive and can be really usefull to have.