Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.Net 3.5 Logging

Tags:

c#

.net

logging

I'm a pretty new C# programmer. I was wondering if someone can fill me in with more information on how to use a logging Framework into a already existing solution (if that's what you call it).

I am trying to get logging for my Project i am doing. I was wondering what good & easy frameworks there are and how are they supposed to be implemented? Should I research a specific topic? I haven't found much tutorials or anything. So if anyone has any suggestions or ideas that can lead me to the right way. I would really appreciate it.

Also Just wondering. I am using .Net 3.5 Since Log4Net is using .Net 2.0... Is there any conflicting/ will it slow it down or anything?


1 Answers

A very good logging framework, which allows for quite a bit of flexibility and easy integration, is Apache's log4net. It is nice in that it allows easy configuration of multiple, independent logging targets.

(The official site seems to be down - wikipedia has a good discussion about log4net.)

like image 122
Reed Copsey Avatar answered Sep 26 '26 09:09

Reed Copsey



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!