Click or drag to resize

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; }

Property Value

Type: IFileCompressor
See Also