 | 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: 6.0.0+b2556d03163fe4c7b4484f0ca757e7ee6f8c5e4e
Syntax[ObsoleteAttribute("Only supported with NET6 (or newer)")]
public bool IncludeActivityIdsWithBeginScope { get; set; }
<ObsoleteAttribute("Only supported with NET6 (or newer)")>
Public Property IncludeActivityIdsWithBeginScope As Boolean
Get
Set
Dim instance As NLogProviderOptions
Dim value As Boolean
value = instance.IncludeActivityIdsWithBeginScope
instance.IncludeActivityIdsWithBeginScope = value
[<ObsoleteAttribute("Only supported with NET6 (or newer)")>]
member IncludeActivityIdsWithBeginScope : bool with 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