NLog :: add source line number to log
2 answers
You can use layout rendering $ {callsite: fileName = true} - specifies whether to display the source file name and line number. Documentation .
+4
source to share
Not sure, but you should try this. Hope this helps: D
http://iosdevelopertips.com/cocoa/filename-and-line-number-with-nslog-part-ii.html
and i also found this
NSLog(@"current line: %d",__LINE__);
from this How can I register the current row via NSLog in Cocoa / Objective C?
EDIT sry I don't know what you want C # should try to look at this
-1
source to share