| 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
)
Sub CompressFile (
fileName As String,
archiveFileName As String
)
Dim instance As IFileCompressor
Dim fileName As String
Dim archiveFileName As String
instance.CompressFile(fileName, archiveFileName)
abstract CompressFile :
fileName : string *
archiveFileName : string -> unit
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