C
Christian Havel
Hi,
I am using C# 2.0. Exists any .NET build-in feature for logging or any good
freeware tool?
Christian
I am using C# 2.0. Exists any .NET build-in feature for logging or any good
freeware tool?
Christian
I am using C# 2.0. Exists any .NET build-in feature for logging or any good
freeware tool?
Kerem Gümrükcü said:Hi Christian,
this depends on what you want to log. You can unse the Event Logs
of Windows to write down your applications events. See .NET
Documentation for this. But there is a very powerfull and Open Source
Solution from Apache Software Foundation: Apache Log4NET
http://logging.apache.org/log4net/
It is one of the most powerfull Logging-Frameworks i have ever seen
and i can tell you i have seen a lot of them. Best of all: Open Source!
Hope this helps,...
Regards
Kerem
-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Microsoft Live Space: http://kerem-g.spaces.live.com/
Latest Open-Source Projects: http://entwicklung.junetz.de
Kerem Gümrükcü said:this depends on what you want to log. You can unse the Event Logs
of Windows to write down your applications events. See .NET
Documentation for this. But there is a very powerfull and Open Source
Solution from Apache Software Foundation: Apache Log4NET
http://logging.apache.org/log4net/
I´m not en expert but this is what I do....
eventlog it good, but for some reason I like th old writing to a
logfile, just a plain textfile, but before that is done, check if u
could use ms excel to proces it... format date/time correct, could be
useful if the file becomes big...
another solution is adding it to a database but I still like the .txt
approach, easy to mail, easy to process...
open a streamwriter and... write @"c:\slask.txt"
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.