 | 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.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntaxpublic 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:
IFileCompressor
See Also