| TargetPropertyWithContextRenderValue Method |
Render Result Value
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public Object RenderValue(
LogEventInfo logEvent
)
Public Function RenderValue (
logEvent As LogEventInfo
) As Object
Dim instance As TargetPropertyWithContext
Dim logEvent As LogEventInfo
Dim returnValue As Object
returnValue = instance.RenderValue(logEvent)
member RenderValue :
logEvent : LogEventInfo -> Object
Parameters
- logEvent
- Type: NLogLogEventInfo
Log event for rendering
Return Value
Type:
ObjectResult value when available, else fallback to defaultValue
See Also