LogFileCompressionMode Enum
Specifies when the log files are compressed.
public enum LogFileCompressionModeFields
| Name | Value | Description |
|---|---|---|
Continuous | 0 | The messages are compressed as they are written, so the log file is never written uncompressed. The compressed stream is finalized when the file is rolled or when the provider is disposed, so the current log file may not be readable by all the tools while the application is running. |
OnRoll | 1 | The log file is compressed once it is rolled, so the current log file is a plain text file. The compression happens on the thread that writes the messages, so rolling a big file delays the messages. |