Click or drag to resize

LoggingConfigurationAddTarget Method (Target)

Registers the specified target object. The name of the target is read from Name.

Namespace:  NLog.Config
Assembly:  NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntax
public void AddTarget(
	Target target
)

Parameters

target
Type: NLog.TargetsTarget
The target object with a non Name
Exceptions
ExceptionCondition
ArgumentNullExceptionwhen target is
See Also