-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Stack Trace Layout Renderer
Julian Verdurmen edited this page Jun 8, 2015
·
13 revisions
Stack trace renderer.
Supported in .NET, Silverlight and Mono
##Configuration Syntax
${stacktrace:format=Enum:topFrames=Integer:skipFrames=Integer:separator=String}
##Parameters ###Rendering Options
-
format - Output format of the stack trace. Default: Flat
Possible values:- DetailedFlat - Detailed flat format (method signatures displayed in a single line).
- Flat - Flat format (class and method names displayed in a single line).
- Raw - Raw format (multiline - as returned by StackFrame.ToString() method).
- topFrames - Number of top stack frames to be rendered. Integer Default: 3
- skipFrames - Numberof frames to skip. Integer Default: 0
- separator - Stack frame separator string. Default: =>
- Troubleshooting Guide - See available NLog Targets and Layouts: https://nlog-project.org/config
- Getting started
- How to use structured logging
- Troubleshooting
- FAQ
- Articles about NLog
-
All targets, layouts and layout renderers
Popular: - Using NLog with NLog.config
- Using NLog with appsettings.json