i\'m wondering if there is any way to change class name of logger instance at runtime ? i want not to create logger in every class but to inject it via constructor. but after i do it i get in file wro
I\'m using nlog to write log files for debugging purposes. Currently the log file location is set to:
I\'m trying to log the current pages URL as part of our NLog la开发者_JAVA百科yout. I\'ve scoured the NLog layout variables and have come up with nothing.
I\'d like to save the logged message ${message} in several columns in a database, as shown on the following example:
I\'m using Castle for logging facade. I have problem when my logger is logging message. The callsite is not my Namespace.Class but is castle facade: Castle.Services.Logging.NLogIntegration.NLogLogger开
Trying to use NLog to send JSON-encoded logs out of our C# app, to dump them into CouchDB. However, using the Network target, I can\'t seem to find a way to set the Content-Type header properly; and C
I am getting the error Exception occurred in NLog ---> System.Data.SqlClient.SqlException: Conversion failed when converting from a character string to uniqueidentifier.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a
I have a generic class: public class GenericClass<开发者_JAVA百科A> { private static readonly Logger Logger = LogManager.GetCurrentClassLogger();
I have a database I\'m trying to write my开发者_JAVA技巧 messages to and would like to use the ${level} layout, but I need to translate it to the int value for reference to my own table that stores lo