 | ExceptionLayoutRendererAppendMessage Method |
Appends the Message of an Exception to the specified StringBuilder.
Namespace:
NLog.LayoutRenderers
Assembly:
NLog (in NLog.dll) Version: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntaxprotected virtual void AppendMessage(
StringBuilder sb,
Exception ex
)
Protected Overridable Sub AppendMessage (
sb As StringBuilder,
ex As Exception
)
Dim sb As StringBuilder
Dim ex As Exception
Me.AppendMessage(sb, ex)
abstract AppendMessage :
sb : StringBuilder *
ex : Exception -> unit
override AppendMessage :
sb : StringBuilder *
ex : Exception -> unit
Parameters
- sb
- Type: System.TextStringBuilder
The StringBuilder to append the rendered data to. - ex
- Type: SystemException
The exception containing the Message to append.
See Also