setLogCompressEnabled abstract method

void setLogCompressEnabled(
  1. bool enabled
)

Enable/Disable local log compression

If compression is enabled, the log size will significantly reduce, but logs can be read only after being decompressed by the Python script provided by Tencent Cloud.

If compression is disabled, logs will be stored in plaintext and can be read directly in Notepad, but will take up more storage capacity.

Parameters:

  • enabled(bool):
    • Specify whether to enable log compression, which is enabled by default.

Implementation

void setLogCompressEnabled(bool enabled);