NET Logging Library
Logging to an Isolated XML
Basic Tasks > Logging to an Isolated XML

The Isolated File target is used to log to an XML file in isolated storage. 

 

It has these properties that can be configured:

 

//Example runtime configuration, can also use log.config, app.config, or web.config
Log.ResetConfiguration();   
IsolatedXmlTarget target = new IsolatedXmlTarget("log.xml");       
Log.Config.Targets.Add(target);

Log.Debug("This is a test");