Click or drag to resize

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
)

Parameters

logEvent
Type: NLogLogEventInfo
Current logevent.
parameterInfo
Type: NLog.TargetsDatabaseParameterInfo
Parameter configuration info.

Return Value

Type: Object
See Also