From 0e523e83f6789414ef60fb12a658d7e404b76642 Mon Sep 17 00:00:00 2001 From: Jason Mo Date: Thu, 22 Feb 2024 15:01:28 +0800 Subject: [PATCH] update comments --- config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/config.go b/config.go index 30272e6..75e0f9d 100644 --- a/config.go +++ b/config.go @@ -36,6 +36,7 @@ type FileLogConfig struct { // Maximum number of old log files to retain. MaxBackups int `toml:"max-backups" json:"max-backups"` // Compress function for rotated files. + // Currently only `gzip` is supported, otherwise compression will be disabled. Compress string `toml:"compress" json:"compress"` }