Geeks With Blogs
James Timperley Logging
NLog Exception Details Renderer
I recently switch from Microsoft's Enterprise Library Logging block to NLog. In my opinion, NLog offers a simpler and much cleaner configuration section with better use of placeholders, complemented by custom variables. Despite this, I found one deficiency in my migration; I had lost the ability to simply render all details of an exception into our logs and notification emails. This is easily remedied by implementing a custom layout renderer. Start by extending 'NLog.LayoutRenderers.Layou... ......

Posted On Sunday, July 28, 2013 9:59 PM

Copyright © jtimperley | Powered by: GeeksWithBlogs.net