source file linenumbers or in numbers in front of your log file entries?
Source file: set the includeSourceInfo parameter of your target to true.
Source
http://www.nlog-project.org/target.NLogViewer.htmlLine numbers in log file I don't know by heart. Also, most txt viewers already give you line numbers.