\n in WriteAdditionalInfo(NameValueCollection)

Topics: Exception Handling Application Block
Jul 10, 2007 at 6:41 PM
In Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.TextExceptionFormatter there is a method defined as:
protected override void WriteAdditionalInfo(NameValueCollection additionalInformation)

In this method Writer.WriteLine() is used everywhere to create a new line except within the foreach. In this foreach loop \n is used and this causes the flat files (I'm viewing them in notepad.exe) to not display the new line correctly. I would like to see the line changed from:




Please note I'm currently using Ent Lib 3.0.
Jan 27, 2009 at 5:37 PM

This still exists in Ent Lib 4.1
Feb 5, 2009 at 9:41 AM
We'll confirm this to the Ent Lib Team.

Valiant Dudan
Global Technology and Solutions
Avanade, Inc.
Feb 10, 2009 at 8:01 PM
Looks like a bug. Adding to the backlog for EntLib5.