|
using System;
using System.Collections.Generic;
using System.Text;
namespace MyCompany.Library1
{
public class MyFirstClass
{
private log4net.ILog m_Log;
public MyFirstClass()
{
m_Log = log4net.LogManager.GetLogger(this.GetType().FullName);
}
~MyFirstClass()
{
m_Log = null;
}
public void LogMessages()
{
LogMessages(string.Format("Message from {0}", this.GetType().FullName));
}
public void LogMessages(string text)
{
m_Log.Debug(text);
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I have been in software development for about 15 years or so. I started out with a small book on QuickBASIC, then moved the Visual Basic for DOS, then Visual Basic for Windows, then Visual Basic .NET and eventually Visual C#. When I am not working at my full time job I donate my time to several community efforts like:
Former President of INETA North America, currently Vice President.
President of the Southeast Valley .NET User Group (SEVDNUG) in Chandler, AZ.
Serving on my City's Parks and Recreation board.
I have or have had the following "MVP" awards:
- Visual Basic MVP in 1996
- C# MVP since 2009
- Telerik MVP since 2010
I maintain a Open Source project on CodePlex which wraps the Bing API called BingSharp.
I also help / organize or participate in several community events:
- Desert Code Camp
- AZGiveCamp
- Organizer for the 1st Time MVP event at the MVP Summit
- MVP 2 MVP Sessions at MVP Summit.
- Awesome bean pusher at GeekGive at the MVP Summit.