Last updated: 2006-09-18

This website is based on NLog v1.0. Click here to view the documentation for other versions.

${stacktrace} Layout Renderer


Stack trace renderer.

AssemblyClass.NET Framework.NET CFMono on WindowsMono on Unix
1.01.12.01.02.01.02.01.02.0
NLog.dllNLog.LayoutRenderers.StackTraceLayoutRenderer  

Parameters:

NameTypeDescription
formatStackTraceFormat
The output format of the stack trace.

Default value is: Flat.

Possible values are:

  • Raw - Raw format (multiline - as returned by StackFrame.ToString() method)
  • Flat - Flat format (class and method names displayed in a single line)
  • DetailedFlat - Detailed flat format (method signatures displayed in a single line)

separatorstring
Stack frame separator string.

Default value is: => .

topFramesinteger
The number of top stack frames to be rendered.

Default value is: 3.


Back to the layout renderer list.
Webwww.nlog-project.org