nlog
Configuring NLog E-Mail Message Body Output
I am using NLog v2 Beta to log a VB.NET .DLL which creates and sends messages to a third party service.I have it working perfectly when logging to a file, but now want it to also e-mail me the errors[详细]
2023-02-27 22:07 分类:问答NLog : Why is a config variable mandatory?
I find this puzzling and counter-intuitive : Why this works : LoggingConfiguration config = LogManager.Configuration;[详细]
2023-02-27 04:14 分类:问答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 this, resutling into a long detailed post. However, I think it is relevant to ask for the community\'s[详细]
2023-02-27 00:18 分类:问答Logger wrapper best practice
I want to use a nlogger in my application, maybe in the future I will need to change the logging system.[详细]
2023-02-25 18:25 分类:问答NLog and custom exceptions
I\'m new to NLog and I\'ve never used an advanced l开发者_运维知识库ogging library before. My question may seem stupid but I really want to know how and what\'s the best way to log custom exceptions w[详细]
2023-02-22 17:42 分类:问答Add a element in a non static object from a static method?
I know how to use nlog to log my information in a file but now I would like to redirect my log to a ListView (C#) and do some actions. So I directed my log to a method as explained in the documentatio[详细]
2023-02-20 17:44 分类:问答Problem mapping fields with a Database Target
I am having a problem getting this to work correctly. I tried it with a straight INSERT statement and a Stored Proc also with the same bad results.[详细]
2023-02-17 15:40 分类:问答Using Stored Procedure in NLog on a Database target
I am having a bit of a problem using a stored procedure instead of a SQL INSERT statement when using NLog in a C# web application. The connection string \"Logger\" is correctly configured开发者_C百科[详细]
2023-02-14 23:40 分类:问答How to apply different layouts to the same target in NLog?
NLog allows me to use SplitGroup to log my messages to several targets. I\'d like to use this feature to log each message to a common, user-specific and date-specific logs at once:[详细]
2023-02-14 15:31 分类:问答Nlog Callsite is wrong when wrapper is used
I\'m using NLog for logging, I use a wrapper to call log methods, my problem is: if I try to print information about the call site (${callsite}), it prints the wrapper method and not the original meth[详细]
2023-02-14 04:50 分类:问答