| DatabaseTargetGetDatabaseParameterValue Method |
Extract parameter value from the logevent
Namespace:
NLog.Targets
Assembly:
NLog.Database (in NLog.Database.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax protected 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:
ObjectSee Also