| FileTargetFileCompressor Property |
Used to compress log files during archiving.
This may be used to provide your own implementation of a zip file compressor,
on platforms other than .Net4.5.
Defaults to ZipArchiveFileCompressor on .Net4.5 and to null otherwise.
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public static IFileCompressor FileCompressor { get; set; }
Public Shared Property FileCompressor As IFileCompressor
Get
Set
Dim value As IFileCompressor
value = FileTarget.FileCompressor
FileTarget.FileCompressor = value
static member FileCompressor : IFileCompressor with get, set
Property Value
Type:
IFileCompressorSee Also