| TargetWithContextSerializeItemValue Method |
Take snapshot of a single object value
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax protected virtual bool SerializeItemValue(
LogEventInfo logEvent,
string name,
Object value,
out Object serializedValue
)
Protected Overridable Function SerializeItemValue (
logEvent As LogEventInfo,
name As String,
value As Object,
<OutAttribute> ByRef serializedValue As Object
) As Boolean
Dim logEvent As LogEventInfo
Dim name As String
Dim value As Object
Dim serializedValue As Object
Dim returnValue As Boolean
returnValue = Me.SerializeItemValue(logEvent,
name, value, serializedValue)
abstract SerializeItemValue :
logEvent : LogEventInfo *
name : string *
value : Object *
serializedValue : Object byref -> bool
override SerializeItemValue :
logEvent : LogEventInfo *
name : string *
value : Object *
serializedValue : Object byref -> bool
Parameters
- logEvent
- Type: NLogLogEventInfo
Log event - name
- Type: SystemString
Key Name (null when NDC / NDLC) - value
- Type: SystemObject
Object Value - serializedValue
- Type: SystemObject
Snapshot of value
Return Value
Type:
BooleanInclude object value in snapshot
See Also