| AspNetTraceIdentifierLayoutRendererIgnoreActivityId Property |
Ignore the System.Diagnostics.Activity.Current.Id value (AspNetCore3 uses ActivityId by default)
Namespace:
NLog.Web.LayoutRenderers
Assemblies:
NLog.Web.AspNetCore (in NLog.Web.AspNetCore.dll) Version: 5.3.13+628b0876960af3ee3454c99b7985dbb5e1c46bf0
NLog.Web (in NLog.Web.dll) Version: 5.3.13+628b0876960af3ee3454c99b7985dbb5e1c46bf0
Syntax public bool IgnoreActivityId { get; set; }
Public Property IgnoreActivityId As Boolean
Get
Set
Dim instance As AspNetTraceIdentifierLayoutRenderer
Dim value As Boolean
value = instance.IgnoreActivityId
instance.IgnoreActivityId = value
member IgnoreActivityId : bool with get, set
Property Value
Type:
BooleanSee Also