Logging Application Block - log file header

Topics: Logging Application Block
Sep 12, 2012 at 7:56 AM
Edited Sep 12, 2012 at 7:57 AM

I am writing to a log files using logging application block.

I want the data in the file to be organized like a table, with column captions.

How can I create a header to the log file (and not message header...)?


Sep 12, 2012 at 1:05 PM

Enterprise Library does not support file headers (or footers) out of the box.  You would have to write a custom trace listener to achieve what you want.

Randy Levy
Enterprise Library support engineer