Top "Nlog" questions

NLog is a free logging platform for .NET

NLog rotate and cleanup logfiles

Within my company we're working with NLog. We're experiencing issues with large amount of log files. What we want to …

error-handling logging nlog
Global exception handling in ASP.NET Web API 2.1 with NLog?

ASP.NET Web API 2.1 includes a new global error handling capability. I found an example that demonstrates how to log …

c# asp.net asp.net-web-api error-handling nlog
using AppData location in NLog

My NLog targets is like this: <targets> <target xsi:type="Console" name="console" layout="${longdate}|${level}|${message}" /&…

nlog
How to use NLog for a DLL

I am trying to implement a simple log using Nlog Refresh 1.0 for a class Library project. It seems nlog does …

c# dll logging nlog
Have NLog write to console

I'm pretty new to NLog. I have a .NET framework console application using NLog. I hope to configure NLog to …

.net nlog nlog-configuration
How to configure NLog to only log from a certain level for a logger namespace for *all* targets

I have the following loggers configured. <nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.…

c# logging nlog
How Thread-Safe is NLog?

Well, I have waited for days before deciding to post this issue, as I was not sure how to state …

c# multithreading logging nlog
Adding method name in NLog

I am using NLog and following the recommended pattern of having a log declare on each class, for the purpose …

c# nlog
When should I use Tracing vs Logger.NET, Enterprise Library, log4net or Ukadc.Diagnostics?

How do I choose between standard tracing, Logger.NET, Enterprise Library, log4net or Ukadc.Diagnostics? Is there a situation …

.net log4net enterprise-library nlog system.diagnostics
How to retain callsite information when wrapping NLog

I have a class that wraps NLog (called NLogger). My logs are saved to my database. The thing I'm having …

c# logging nlog