Click or drag to resize

FileLifecycleHooksOnTargetClose Method

Called when the FileTarget is being closed.

Namespace:  NLog.Targets
Assembly:  NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntax
public virtual void OnTargetClose(
	FileTarget target
)

Parameters

target
Type: NLog.TargetsFileTarget
The FileTarget that is being closed.
Remarks

This callback represents the lifecycle of the target itself rather than the lifecycle of an individual file.

See Also