Geeks With Blogs
Swiss Coder .net and stuff... May 2012 Entries
C# Tutorial for log4net
Here's a short tutorial on how to use log4net in C#1. Get log4net from the apache website.2. Open your project with visual studio.3. Add the reference to your project: You find the reference in the zip that you just downloaded: \bin\net\xxx\release\log4ne... xxx is your .net version.4. Add the Appender section to your app.config. The following code uses a file for the logging: <configuration> <configSections> <section name="log4net" type="log4net.Config.Log4Ne... ......

Posted On Sunday, May 13, 2012 6:54 PM

Copyright © huwyss | Powered by: GeeksWithBlogs.net | Join free