Click or drag to resize

GroupByTargetWrapper Constructor (String, Target, Layout)

Initializes a new instance of the GroupByTargetWrapper class.

Namespace:  NLog.Targets.Wrappers
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public GroupByTargetWrapper(
	string name,
	Target wrappedTarget,
	Layout key
)

Parameters

name
Type: SystemString
The name of the target.
wrappedTarget
Type: NLog.TargetsTarget
The wrapped target.
key
Type: NLog.LayoutsLayout
Group by identifier.
See Also