Last updated: 2006-09-18

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

${exception} Layout Renderer


Exception information provided through a call to one of the Logger.*Exception() methods.

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

Parameters:

NameTypeDescription
formatstring
The format of the output. Must be a comma-separated list of exception properties: Message, Type, ShortType, ToString, Method, StackTrace. This parameter value is case-insensitive.
separatorstring
The separator used to concatenate parts specified in the Format.
culturestring
The culture name to be used for rendering.
cultureInfoCultureInfo
The CultureInfo to be used for rendering.
fixedLengthboolean
Trim the rendered text to the AbsolutePadding value.

Default value is: False.

lowerCaseboolean
Render an upper-case string.

Default value is: False.

padCharacterChar
The padding character.
paddinginteger
Padding value.
upperCaseboolean
Render an upper-case string.

Default value is: False.


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