 | DatabaseObjectPropertyInfoRenderValue Method |
Render Result Value
Namespace:
NLog.Targets
Assembly:
NLog.Database (in NLog.Database.dll) Version: 6.0.0+be83582280f7a841b0d3c6ae75b4f95aaf07e914
Syntaxpublic Object? RenderValue(
LogEventInfo logEvent
)
Public Function RenderValue (
logEvent As LogEventInfo
) As Object
Dim instance As DatabaseObjectPropertyInfo
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