Skip to content

Message Layout Renderer

Xharze edited this page Oct 3, 2012 · 1 revision

The formatted log message.

Supported in .NET, Silverlight, Compact Framework and Mono.

##Configuration Syntax

${message:exceptionSeparator=String:withException=Boolean}

##Parameters ###Layout Options

  • exceptionSeparator - String that separates message from the exception.

    This parameter is not supported in:

    • NLog v1.0 for .NET Compact Framework 1.0
    • NLog v1.0 for .NET Compact Framework 2.0
    • NLog v1.0 for .NET Framework 1.0
    • NLog v1.0 for .NET Framework 1.1
    • NLog v1.0 for .NET Framework 2.0
  • withException - Indicates whether to log exception along with message. Boolean

    This parameter is not supported in:

    • NLog v1.0 for .NET Compact Framework 1.0
    • NLog v1.0 for .NET Compact Framework 2.0
    • NLog v1.0 for .NET Framework 1.0
    • NLog v1.0 for .NET Framework 1.1
    • NLog v1.0 for .NET Framework 2.0

Clone this wiki locally