nlog
Is it possible to mock NLog log methods?
Is it开发者_Go百科 possible/easy to mock NLog log methods, using Rhino Mocks or similar?Using Nuget :install-package NLog.Interface[详细]
2023-02-08 18:33 分类:问答NLog - Write NULL to optional database column
I am using NLog for logging in an ASP.Net application and making use of the database target with Micro开发者_运维百科soft Sql Server.[详细]
2023-02-07 20:45 分类:问答Configuring log4net to write to different files based on log level
I\'m开发者_运维百科 setting up log4net and want to write debug messages in \"debug.log\", info messages in \"info.log\" and so on.[详细]
2023-02-07 17:40 分类:问答NLog write file log on top of file
How to write log as newest on the first in file? Is there some co开发者_运维百科nfiguration?You will not find any logger which can do that since the whole file have to be rewritten each time a new log[详细]
2023-02-06 03:51 分类:问答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?[详细]
2023-02-06 01:40 分类:问答nlog not working for class library project
I have an MVC application that uses a couple of class library projects. I have implemented NLog for logging across all the projects. Each project (including the class library projects) have the NLog.c[详细]
2023-02-05 16:07 分类:问答WPF where to store NLog logs
Is \"Environment.SpecialFolder.ApplicationData\" suitable for storing an NLog log file in a Clickonce WPF application running under .net client profile?[详细]
2023-02-03 01:40 分类:问答NLog doesn't emit messages with Obfuscation
I have an application that I\'m trying to obfuscate. When unobfuscated, the program emits NLog logging messages, but after obfuscation, it doesn\'t generate any messages at all even though the rest of[详细]
2023-02-02 08:07 分类:问答Bad configuration of NLog?
Ok, so I\'m trying out NLog, but it keeps falling over. Let me go through what I\'ve got so far. My NLog.config file:[详细]
2023-02-01 10:31 分类:问答NLog GetCurrentClassLogger() NullReferenceException using StructureMap (Full Trust)
It seems like NLog can\'t use reflection for GetCurrentClassLogger(), even though my MVC 3 app is deployed in a Full Trust environment on IIS7. I\'m using StructureMap 2.6.1 and the problem seems to a[详细]
2023-02-01 03:26 分类:问答