Posted by: intelbot on: March 19, 2009
NLog is a .NET Logging Library,
NLog is a .NET logging library designed with simplicity and flexibility in mind. With NLog you can process diagnostic messages emitted from any .NET language, augment them with contextual information, format them according to your preference and send them to one or more targets.
Using it is very easy. Following steps helps you to get started.

using NLog;using NLog.Targets;using NLog.Config;using NLog.Win32.Targets;
catch(Exception ex){Logger errLogger = LogManager.GetLogger(“*”);errLogger.Debug(ex.Message);}