Users Pricing

forum

home / developersection / forums / how to store event log in folder

How to store event log in Folder

Anonymous User 2047 26 Aug 2014

I'm using the System.Diagnostics namespace to log errors, warning and information. 

Using Windows 7 I see that the log I've set for the project is under "Applications and Services Logs". 

How can I set in code to create a folder and put it under "Applications and Services Logs[SOME FOLDER]\Applications and Services Logs"?


I am a content writter !


1 Answers