- Surya Kant
- Aug 16, 2016
- 298.1k
- 0
- 4
WriteLogFile.zip
In application development environment we always require to track our application performance as well as error and bugs. To tracking bugs and error we always write the log in temporary folder. So today we are going to discuss how to write the log in .Net application. Writing log not only saves our time as well as helps us to track our application in proper manner. So in this blog I will tell you how to write the log using C# programming language. Now calling WriteLog method form Program.cs file. Now run this !!! And now check your Temp folder where the file is created with name "ConsoleLog". Press-> window+r Type Temp then click ok to see the log file. Now open with notepad. Done!!! Hope you Enjoy with this. Comment your feedback.
Next Recommended Reading Cannot create/shadow copy 'XXX' when that file already exists