Click or drag to resize

FileTargetCleanupInitializedFiles Method (DateTime)

Removes records of initialized files that have not been accessed after the specified date.

Namespace:  NLog.Targets
Assembly:  NLog (in NLog.dll) Version: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntax
public void CleanupInitializedFiles(
	DateTime cleanupThreshold
)

Parameters

cleanupThreshold
Type: SystemDateTime
The cleanup threshold.
Remarks
Files are marked 'initialized' for the purpose of writing footers when the logging finishes.
See Also