Click or drag to resize

NLogProviderOptionsIncludeActivityIdsWithBeginScope Property

Note: This API is now obsolete.

Automatically include Activity.SpanId, Activity.TraceId and Activity.ParentId.

Namespace:  NLog.Extensions.Logging
Assembly:  NLog.Extensions.Logging (in NLog.Extensions.Logging.dll) Version: 5.3.13+9106fa3b6a3bdf3fbae3d40dbd52b6c23eb3b9f3
Syntax
[ObsoleteAttribute("Only supported with NET6 (or newer)")]
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
See Also