Click here to Skip to main content
15,898,374 members
Please Sign up or sign in to vote.
4.00/5 (2 votes)
See more:
Hi,

I have developed a windows application where i do have some functionalities in it like Find/Replace, Merge the columns, Split the columns and all.
Now i want to generate a logfile for this windows application. Can anyone help me to programme generating the LOG file for my windows application?

What I have tried:

I'm new to this task and i didn't give a big to do as i'm unaware where and how to start this.
Posted
Updated 22-Feb-16 23:44pm

Please take a look at Apache log4net[^]:

Quote:
The Apache log4net library is a tool to help the programmer output log statements to a variety of output targets. log4net is a port of the excellent Apache log4j™ framework to the Microsoft® .NET runtime. We have kept the framework similar in spirit to the original log4j while taking advantage of new features in the .NET runtime.

Features

Support for multiple frameworks
Output to multiple logging targets
Hierarchical logging architecture
XML Configuration
Dynamic Configuration
Logging Context
Proven architecture
Modular and extensible design
High performance with flexibility

 
Share this answer
 
v3
Just ask the search machine of your choice using something like "c# logfile".

Some results from CP:
Really Simple Log Writer[^]
Simple Log[^]
Simple Error Logging Util Class[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900