-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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.
${date:format=yyyy-MM-dd:norawvalue=true}
- Troubleshooting Guide - See available NLog Targets and Layouts: https://nlog-project.org/config
- Getting started
- How to use structured logging
- Troubleshooting
- FAQ
- Articles about NLog
-
All targets, layouts and layout renderers
Popular: - Using NLog with NLog.config
- Using NLog with appsettings.json