Skip to content

NoRawValue layout renderer

Rolf Kristensen edited this page Apr 21, 2019 · 3 revisions

Prevents the output of another layout renderer to be treated as raw value.

Platforms Supported: All

Introduced in NLog 4.6

Some NLog targets are able to extract the raw value directly from the layout renderer without first rendering as string.

Specifying norawvalue=true will force rendering as string.

Configuration Syntax

${date:format=yyyy-MM-dd:norawvalue=true}
Clone this wiki locally