Click or drag to resize
LoggingConfigurationConfiguredNamedTargets Property
Gets a collection of named targets specified in the configuration.

Namespace: NLog.Config
Assembly: NLog (in NLog.dll) Version: 4.3.0
Syntax
public ReadOnlyCollection<Target> ConfiguredNamedTargets { get; }

Return Value

Type: ReadOnlyCollectionTarget
A list of named targets.
Remarks
Unnamed targets (such as those wrapped by other targets) are not returned.
See Also