 | TargetWithContextGetAllProperties Method (LogEventInfo) |
Creates combined dictionary of all configured properties for logEvent
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxprotected IDictionary<string, Object?> GetAllProperties(
LogEventInfo logEvent
)
Protected Function GetAllProperties (
logEvent As LogEventInfo
) As IDictionary(Of String, Object)
Dim logEvent As LogEventInfo
Dim returnValue As IDictionary(Of String, Object)
returnValue = Me.GetAllProperties(logEvent)
member GetAllProperties :
logEvent : LogEventInfo -> IDictionary<string, Object>
Parameters
- logEvent
- Type: NLogLogEventInfo
Return Value
Type:
IDictionaryString,
ObjectDictionary with all collected properties for logEvent
See Also