c# Programming Glossary: logeventinfo
Nlog Callsite information http://stackoverflow.com/questions/5132759/nlog-callsite-information void Write LogLevel level string format params object args LogEventInfo le new LogEventInfo level logger.Name null format args logger.Log.. level string format params object args LogEventInfo le new LogEventInfo level logger.Name null format args logger.Log typeof NLogLogger..
How to retain callsite information when wrapping NLog http://stackoverflow.com/questions/7412156/how-to-retain-callsite-information-when-wrapping-nlog message create log event from the passed message LogEventInfo logEvent new LogEventInfo LogLevel.Info _logger.Name message.. event from the passed message LogEventInfo logEvent new LogEventInfo LogLevel.Info _logger.Name message set event specific context.. message type is not supported Build LogEvent here... LogEventInfo logEvent new LogEventInfo logLevel context.Name message logEvent.Exception..
|