This project has moved and is read-only. For the latest updates, please go here.

How to use CallSite layout renderer

Sep 22, 2015 at 8:20 AM
Hello everyone,
I am trying to display the source code path with the line number in Sentinel, I have created the layout with NLog to do the same but its not showing any source code path and line number in sentinel.

The same layout for other targets like Eventlog, File and Console are showing the information properly.
Oct 1, 2015 at 10:32 PM
Not sure the information is embedded within the 'network event' record. Let me take a look.
Oct 3, 2015 at 6:06 PM
The includeCallSite attribute in the nLog configuration does not put line information into the log message, but includeSourceInfo="true" does. I've upgraded Sentinel ( to decode this information if supplied and added four new columns to display it. I'll probably add more control in the future to decide which columns are shown.

See the example nLog configuration shown in the release notes - added to the nLog4Tester, the results do what I think you're expecting.