nlog
NLog - how logging custom data to XML
Hi I need log temperature to XML file. I would like have XMl in this format <logs> <log> <dateTime></dateTime/>[详细]
2023-04-13 00:12 分类:问答NLog Configuration system failed to initialize
I am new to Nlog, Put the Nlog Configuration in the app.config file below the configuration section, and de开发者_开发百科fine a section name inside the Config Section but still I get this error \"Con[详细]
2023-04-12 00:06 分类:问答Getting Error 20 'NLog.LogManager' does not contain a definition for 'GetCurrentClassLogger'
I am developing an application with windows CE, NETCF 3.5 I am using NLog2-All-开发者_如何转开发Beta1 for logging, but it is giving error that Error 20 \'NLog.LogManager\' does not contain a definitio[详细]
2023-04-11 00:46 分类:问答New to logging in general, but what should I log in an MVC3 application?
I\'m really new to logging, and I\'ve decided it\'s time to take the plunge and start working it into my applications from now on.[详细]
2023-04-09 18:12 分类:问答Windows service rights to write in log file
I have created a Windows service using C# that writes logs (with NLog) in C:\\ProgramData. When I debug the service (on my Windows 7) (using the code written above), the log file is correctly created[详细]
2023-04-08 09:24 分类:问答Sending log to remote MSMQ
I installed NLog version 2 and sending to a remote MSMQ is not working. Do I have the config setup properly?[详细]
2023-04-07 07:33 分类:问答Please help convert NLog v1.1 to NLog v2.0
I would like to use Sharedcache (sharedcache.codeplex.com) in our Silverlight v4.0 project. However, we are using NLog v2.0 for the client logging. SharedCache currently release only support NLog v1.1[详细]
2023-04-06 18:15 分类:问答Add, enable and disable NLog loggers programmatically
How can I add, edit, d开发者_运维问答elete, enable, and disable loggers from code for NLog?To add:[详细]
2023-04-05 16:44 分类:问答NLog doesn't seem to be logging in ClickOnce environment but works in dev
I am performing logging in my application via NLog.I am trying to gather some logs to diagnose an odd issue I am having on only one machine.In my NLog.Config I have the following configuration:[详细]
2023-04-04 10:31 分类:问答How can I query the path to an NLog log file?
I\'ve configured a file target for NLog as follows: <targets> <target name=\"asyncFile\" xsi:type=\"AsyncWrapper\">[详细]
2023-04-03 09:48 分类:问答