From ef26b39b4cfee636e8527f37ec1c7525726c6d0d Mon Sep 17 00:00:00 2001 From: guangwu Date: Wed, 24 May 2023 16:15:27 +0800 Subject: [PATCH] misspelling (#3248) --- core/logx/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/logx/config.go b/core/logx/config.go index 2b00f276..a86e4d74 100644 --- a/core/logx/config.go +++ b/core/logx/config.go @@ -32,7 +32,7 @@ type LogConf struct { StackCooldownMillis int `json:",default=100"` // MaxBackups represents how many backup log files will be kept. 0 means all files will be kept forever. // Only take effect when RotationRuleType is `size`. - // Even thougth `MaxBackups` sets 0, log files will still be removed + // Even though `MaxBackups` sets 0, log files will still be removed // if the `KeepDays` limitation is reached. MaxBackups int `json:",default=0"` // MaxSize represents how much space the writing log file takes up. 0 means no limit. The unit is `MB`.