| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Render Stack trace of a log event.
Platforms Supported: All
${stacktrace:format=Enum:topFrames=Integer:skipFrames=Integer:separator=String}
Introduced with NLog 4.7.1
Introduced with NLog 5.0
Note: To get the filenames and line numbers, include the PDB files.
Note: Prior NLog 4.4.7, the result was always <filename unknown>:0:0
Main at offset 638 in file:line:column file1.cs:100:10 TestLogging at offset 590 in file:line:column testlogger.cs:30:10 WriteToLog at offset 112 in file:line:column testlogger.cs:10:20
Program.Main Program.TestLogging NLogLoggerHelper.LogEvent
[Int32 Main()] [Void TestLogging()] [Void WriteToLog(NLog.Logger, NLog.LogLevel, System.String)]
- Troubleshooting Guide - See available NLog Targets and Layouts: https://nlog-project.org/config
| Back | FazBrowse Home | New Git URL |