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.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
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