Custom Exception Formatter

Topics: Exception Handling Application Block, Logging Application Block
Jun 16, 2009 at 10:08 PM

I'm trying to create my own custom exception formatter and my problem is like the problem posted in this thread -  I want to be able to write the custom exception formatter in such a way that it will have a corresponding token in the Logging Application Block.  Is this doable? Or am I missing something?

Jun 17, 2009 at 5:47 AM

The suggestion I made in that thread in order to have the timestamp in the additional info was to create a custom exception formatter.  That would suffice if you simply want to have the timestamp in the additional info to display in local time.  But if you want to add tokens, you would have to extend the logging formatters itself, create a custom logging formatter. 


Sarah Urmeneta
Global Technology & Solutions
Avande, Inc.