| TargetWithContextShouldIncludeProperties Method |
Check if logevent has properties (or context properties)
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax protected bool ShouldIncludeProperties(
LogEventInfo logEvent
)
Protected Function ShouldIncludeProperties (
logEvent As LogEventInfo
) As Boolean
Dim logEvent As LogEventInfo
Dim returnValue As Boolean
returnValue = Me.ShouldIncludeProperties(logEvent)
member ShouldIncludeProperties :
logEvent : LogEventInfo -> bool
Parameters
- logEvent
- Type: NLogLogEventInfo
Return Value
Type:
BooleanTrue if properties should be included
See Also