Click or drag to resize

IFileCompressorCompressFile Method

Create archiveFileName by compressing fileName.

Namespace:  NLog.Targets
Assembly:  NLog (in NLog.dll) Version: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntax
void CompressFile(
	string fileName,
	string archiveFileName
)

Parameters

fileName
Type: SystemString
Absolute path to the log file to compress.
archiveFileName
Type: SystemString
Absolute path to the compressed archive file to create.
See Also