Click or drag to resize

NLogProviderOptionsIncludeActivityIdsWithBeginScope Property

Automatically include SpanId, TraceId and ParentId

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

Property Value

Type: Boolean
Remarks
Intended for Net5.0 where these properties are no longer included by default for performance reasons Consider using ${activity} as alternative
Remarks
Default:
See Also