Logrythmik/NLog.MongoDB — pull request #11 by thecutter (2012-08-23 09:49:37+00:00)
Title: Added some new options & other tweaks

* CollectionName - If set logs alle events into this single collection
* UseCappedCollection - Creates a capped collection in mongodb
* CreateIdField - Creates an id field for every logevent (needed for capped collections on replication sets)
* AppendFields - Generates a FullBsonDocument (all LogEvent fields) and appends the user fields
* CappedCollectionSize - Sets the size of the capped collection in bytes
* CappedCollectionMaxItems - Sets the maximum count of documents in the capped collection

I also simplified the database name parsing (using MongoUrlBuilder).
And if a database name is set on the target it will override the database name in the connectionstring.