nlog
Send ELMAH output through NLog
I\'m currently using NLog to log securi开发者_JS百科ty events from my ASP.NET MVC3 application. Now we have another requirement to add application errors into a separate log.[详细]
2023-03-20 22:37 分类:问答decent log viewer that works with NLog [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-03-20 15:51 分类:问答Force NLog to create a new log folder for year, month and day
How can I force NLog to write logfiles using this pattern \"${yyyy}/${MM}/${dd}/开发者_如何学Clog${yyMMdd}.${####}.txt\"?[详细]
2023-03-20 07:27 分类:问答How can I define the location of NLog file in code?
Is there a way to define what config file NLog is suppos开发者_开发百科ed to use directly using c# code?You should be able to do something like this (note that I have neither compiled nor tested this)[详细]
2023-03-20 07:11 分类:问答How do I get the name of the file NLog is writing to?
I am writing an application that will be utilized by members of our operations group.I\'d like to show on the screen, the name of the file that NLog is writing to.This will allow them to view the file[详细]
2023-03-19 13:57 分类:问答Passing in the type of the declaring class for NLog using Autofac
Following on from this question I would like autofac to inject the type 开发者_开发问答of the declaring object into the constructor of my NLog service, so that it can correctly log which type is loggi[详细]
2023-03-19 01:17 分类:问答NLog, Elmah + shared library
I am trying to come up with a way to create a commo开发者_如何学运维n library for all my MVC projects. I started off really simple withBaseController and BaseModel classes. Easy stuff![详细]
2023-03-18 11:33 分类:问答Protecting an email password when using NLog
When using N开发者_Go百科Log as a logging instrument we can easily send messages via email, for example this is the example configuration for using Gmail as a smtp server:[详细]
2023-03-18 00:17 分类:问答How do I switch from Log4Net to NLog in Quartz.Net?
My company\'s standard logging tool is NLog.I\'m trying to introduce Quartz.net and was asked if it could use NLog instead of Log4Net.[详细]
2023-03-17 15:54 分类:问答Writing stack trace to log file only when exception thrown
I want to write the sta开发者_如何学运维ck trace only when I have exceptions, currently I do it like this[详细]
2023-03-17 05:52 分类:问答