 | FileLifecycleHooksOnTargetClose Method |
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic virtual void OnTargetClose(
FileTarget target
)
Public Overridable Sub OnTargetClose (
target As FileTarget
)
Dim instance As FileLifecycleHooks
Dim target As FileTarget
instance.OnTargetClose(target)
abstract OnTargetClose :
target : FileTarget -> unit
override OnTargetClose :
target : FileTarget -> unit 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