nlog
Is NLog work with customErrors?
when i use <customErrors mode=\"Off\"/> and i have an error on the scre开发者_开发技巧en it writes to log file but when i use <customErrors mode=\"RemoteOnly\"/> then i see my custom error[详细]
2023-01-13 19:43 分类:问答How to configure a default target in NLog
I am trying to convert existing logging library used by a bunch of apps to use NLog.The existing logging code has no indirection, logging calls go straight from the caller to a webservice call.The exi[详细]
2023-01-13 07:06 分类:问答Add / remove logfiles during runtime in NLog
I\'m writing a small file conversion utility. Files get automatically converted when they are dropped into a directory.[详细]
2023-01-12 17:10 分类:问答Configuring NLog to log exceptions in an XML output?
Currently, we have NLog spitting out CSV files just to prove we have NLog actually logging exceptions.[详细]
2023-01-10 22:57 分类:问答How to log to multiple targets using NLog?
I am using NLog and I want to log to RichTextBox and File at the same time. And I want to configure the Logger programmatically, not with xml config file.[详细]
2023-01-07 20:14 分类:问答NLog logging to database in n-tier environment
We are currently using NLog for logging (which was an arbitrary choice made some months ago so it can be changed if necessary).[详细]
2023-01-07 03:28 分类:问答Suggestions for hosted log server? [closed]
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.[详细]
2023-01-07 01:12 分类:问答Is there any way to do a conditional in a NLog layout?
I\'m trying to create a NLog layout config like so: layout = \"${callsite} > ${message} (${exception:format=tostring})\"[详细]
2023-01-06 02:56 分类:问答Why do loggers recommend using a logger per class?
As per NLog\'s documentation: Most applications will use one logger per class, where the name of the logger is the same as the name of the class.[详细]
2023-01-05 16:11 分类:问答NLog - DDL for Log Table and Setting the ConnectionString Programmatically
1: Is there a create statement for the Database Target Log Table for all the possible fields documented somewhere? I created one by guessing and I could check the source, but it would be handy if the[详细]
2023-01-05 12:23 分类:问答