 | DatabaseTargetGetDatabaseParameterValue Method |
Extract parameter value from the logevent
Namespace:
NLog.Targets
Assembly:
NLog.Database (in NLog.Database.dll) Version: 6.0.0+be83582280f7a841b0d3c6ae75b4f95aaf07e914
Syntaxprotected virtual Object? GetDatabaseParameterValue(
LogEventInfo logEvent,
DatabaseParameterInfo parameterInfo
)
Protected Overridable Function GetDatabaseParameterValue (
logEvent As LogEventInfo,
parameterInfo As DatabaseParameterInfo
) As Object
Dim logEvent As LogEventInfo
Dim parameterInfo As DatabaseParameterInfo
Dim returnValue As Object
returnValue = Me.GetDatabaseParameterValue(logEvent,
parameterInfo)
abstract GetDatabaseParameterValue :
logEvent : LogEventInfo *
parameterInfo : DatabaseParameterInfo -> Object
override GetDatabaseParameterValue :
logEvent : LogEventInfo *
parameterInfo : DatabaseParameterInfo -> Object
Parameters
- logEvent
- Type: NLogLogEventInfo
Current logevent. - parameterInfo
- Type: NLog.TargetsDatabaseParameterInfo
Parameter configuration info.
Return Value
Type:
Object
See Also