Solved

NLog & Getting the line number of the code?

Posted on 2007-11-19
1
828 Views
Last Modified: 2008-03-10
Anyway to get the the line number from the code without actually having to manually type it in? I would like to add the line numbers to my logging.
0
Comment
Question by:directxBOB
1 Comment
 
LVL 12

Accepted Solution

by:
topdog770 earned 500 total points
ID: 20313255
From http://www.nlog-project.org/target.NLogViewer.html
includeSourceInfo
boolean Include source info (file name and line number) in the information sent over the network.  
 
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Linq help 1 16
How to read XML file attributes... 17 42
Check my code out(2) 1 35
VB.NET HttpWebRequest 12 34
Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now