I am using the patterns & practices enterprise library (p&p EntLib) logging block to write to a text file.
Some of the log message contain multiple lines which I would like to force to become a single line - in other words replacing the \r
& \n
with a space in the log messages prior to them being written to the file.
How do I configure the logging block for this, if this is possible?
From memory you will need to create a custom formatter, something similar to this link.