Click or drag to resize

LoggingConfigurationFindTargetByName Method (String)

Finds the target with the specified name.

Namespace:  NLog.Config
Assembly:  NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntax
public Target? FindTargetByName(
	string name
)

Parameters

name
Type: SystemString
The name of the target to be found.

Return Value

Type: Target
Found target or when the target is not found.
See Also