ObjectDumper.cs - output in XML?

rajjana

New Member
I'm trying to use ObjectDumper.cs from this link along with Nlog to dump entire objects into my log files. Does anyone know how to return the object(s) in XML format instead of string? I feel it's more readable that way in the logs.\[code\]Relevant links: 1. http://stackoverflow.com/questions/1347375/c-sharp-object-dumper (writes to console)2. http://code.google.com/p/glue/source/browse/trunk/src/Glue.Lib/ObjectDumper.cs?r=229 (can also return a string representation of the object)\[/code\]Thanks!
 
Back
Top