• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 882
  • Last Modified:

NLog & Getting the line number of the code?

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
directxBOB
Asked:
directxBOB
1 Solution
 
topdog770Commented:
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

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now