Click or drag to resize

DatabaseTargetGetDatabaseParameterValue Method

Extract parameter value from the logevent

Namespace:  NLog.Targets
Assembly:  NLog.Database (in NLog.Database.dll) Version: 6.0.0+be83582280f7a841b0d3c6ae75b4f95aaf07e914
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