Skip to content

Guid layout renderer

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

Globally-unique identifier (GUID).

Platforms Supported: All

Configuration Syntax

${guid:format=String}

Parameters

Rendering Options

  • 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

Clone this wiki locally