LearnBoost/mongoose — pull request #1067 by eknkc (2012-08-22 07:15:38+00:00)
Title: Format ObjectId and Date objects with their appropriate constructors in debug log. 

This will make it possible to copy / paste logged queries into mongo shell.

ObjectId: `ObjectId("000000000000000000000000")`
Date: `new Date("Mon, 23 Jul 2012 07:08:37 GMT")`

Sample log entry:
```js
articles.find({ type: 'news', categories: ObjectId("4fa8fda4ed765b1122000011"), createDate: { '$gt': new Date("Mon, 23 Jul 2012 07:08:37 GMT") }, 'flags.draft': false })
```