Click or drag to resize

IFileCompressorCompressFile Method

Create archiveFileName by compressing fileName.

Namespace:  NLog.Targets
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
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