Strategies for serializing an object for auditing/logging purpose in .NET?
- by Jiho Han
Let's say I have an application that processes messages. Messages are just objects in this case that implements IMessage interface which is just a marker.
In this app, if a message fails to process, then I want to log it, first of all for auditing and troubleshooting purposes. Secondly I might want to use it for re-processing.
Ideally, I want…