-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Guid layout renderer
Rolf Kristensen edited this page Apr 21, 2019
·
6 revisions
Globally-unique identifier (GUID).
Platforms Supported: All
${guid:format=String}
-
format - GUID format as accepted by Guid.ToString() method. Default:
N
-
GeneratedFromLogEvent - Creates a special GUID from the LogEvent, so if the LogEvent is written to multiple targets, then all targets will get the same GUID for the LogEvent (Like a CorrelationId). Default:
False
Introduced with NLog 4.5
- Troubleshooting Guide - See available NLog Targets and Layouts: https://nlog-project.org/config
- Getting started
- How to use structured logging
- Troubleshooting
- FAQ
-
All targets, layouts and layout renderers
Popular: - Using NLog with NLog.config
- Using NLog with appsettings.json