Click or drag to resize

MicrosoftConsoleJsonLayoutIncludeActivityIds Property

Gets or sets whether to include "TraceId" + "SpanId" + "ParentId" from Current

Namespace:  NLog.Extensions.Logging
Assembly:  NLog.Extensions.Logging (in NLog.Extensions.Logging.dll) Version: 6.2.1+ba78edbf68715fffcec1bcbb665118fbc55e67c2
Syntax
public bool IncludeActivityIds { get; set; }

Property Value

Type: Boolean
Remarks
Similar to ActivityTrackingOptions.TraceId | ActivityTrackingOptions.SpanId | ActivityTrackingOptions.ParentId . For additional Activity properties, use StateAttributes together with NLog.DiagnosticSource-nuget-package.
See Also