In my previous solution, after certain crashes, I put up a message box
offering to display the log.
I'm having trouble figuring out how to do that with NLog.
I got this far:
NLog.Config.LoggingConfiguration cfg = new
NLog.Config.LoggingConfiguration();
foreach (NLog.Target targ in cfg.GetConfiguredNamedTargets())
{
if (targ. // How do I figure out if it is a file target?
// How do I get its fully qualified path, so I can display it?
}
Is this doable?
If so, how?
If not, do you have any suggestions for me?
Thanks for any ideas.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________
Nlog-list mailing list
Nlog-list@...
https://lists.sourceforge.net/lists/listinfo/nlog-list