| TargetWithContextGetAllProperties Method (LogEventInfo, IDictionaryString, Object) |
Creates combined dictionary of all configured properties for logEvent
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax protected IDictionary<string, Object> GetAllProperties(
LogEventInfo logEvent,
IDictionary<string, Object> combinedProperties
)
Protected Function GetAllProperties (
logEvent As LogEventInfo,
combinedProperties As IDictionary(Of String, Object)
) As IDictionary(Of String, Object)
Dim logEvent As LogEventInfo
Dim combinedProperties As IDictionary(Of String, Object)
Dim returnValue As IDictionary(Of String, Object)
returnValue = Me.GetAllProperties(logEvent,
combinedProperties)
member GetAllProperties :
logEvent : LogEventInfo *
combinedProperties : IDictionary<string, Object> -> IDictionary<string, Object>
Parameters
- logEvent
- Type: NLogLogEventInfo
- combinedProperties
- Type: System.Collections.GenericIDictionaryString, Object
Optional prefilled dictionary
Return Value
Type:
IDictionaryString,
ObjectDictionary with all collected properties for logEvent
See Also