Click here to Skip to main content
15,886,199 members
Articles / Programming Languages / C#

Logging with NLog

Rate me:
Please Sign up or sign in to vote.
1.68/5 (13 votes)
6 Jan 20073 min read 52.3K   69   20  
The article describes how to configure nlog to log reports as per your requirement
set PrettyPrinter=D:\Work\CSharpPrettyPrint\bin\Debug\csharpprettyprint.exe 
%PrettyPrinter% jscript test.js test.js.html
%PrettyPrinter% csharp benchmark_log4net.cs benchmark_log4net.cs.html
%PrettyPrinter% csharp benchmark_nlog.cs benchmark_nlog.cs.html
%PrettyPrinter% csharp Performance.cs Performance.cs.html
%PrettyPrinter% csharp AddTarget.cs AddTarget.cs.html
%PrettyPrinter% csharp AddFilter.cs AddFilter.cs.html
%PrettyPrinter% csharp AddLayoutRenderer.cs AddLayoutRenderer.cs.html
%PrettyPrinter% csharp MyFirstTarget.cs MyFirstTarget.cs.html
%PrettyPrinter% csharp MyFirstLayoutRenderer.cs MyFirstLayoutRenderer.cs.html
%PrettyPrinter% csharp MyFirstFilter.cs MyFirstFilter.cs.html
%PrettyPrinter% csharp tutorial.cs tutorial.cs.html
%PrettyPrinter% csharp GetLogger.cs GetLogger.cs.html
%PrettyPrinter% csharp GetCurrentClassLogger.cs GetCurrentClassLogger.cs.html
%PrettyPrinter% csharp NLogC.cpp NLogC.cpp.html
%PrettyPrinter% csharp NLogCdef.cpp NLogCdef.cpp.html


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.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions