Logrythmik/NLog.MongoDB — pull request #14 by mikkelfish (2012-09-18 04:49:50+00:00)
Title: Added serialization of Exception.Data

Hey, this library is really nice, thanks. I came across it while using ServiceStack and its logging facade.

I wanted to be able to store specific data in key-value pairs, which I see can be done in NLog through properties; something that ServiceStack's facade doesn't have.

ServiceStack's facade only has [Debug/Warn/etc](message, exception) and [Debug/warn/etc]Format(format_message, args)

However, I noticed that Exception does have Data as a property and so I've added that to the serialization.

I didn't add anything to the tests because it was unclear where to put them. Also this is my first pull request and I wanted to see if the idea was something that sounded good. Cheers.