From e655c031b23831d136e1865bad6db0d7568490ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=BE=B7=E6=BB=A1?= Date: Thu, 4 Mar 2021 23:25:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97=E5=88=87=E5=89=B2,=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E5=88=87=E5=89=B2=E6=8C=89=E7=85=A7=E5=B0=8F=E6=97=B6?= =?UTF-8?q?=E7=BB=B4=E5=BA=A6=E5=88=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- logger/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logger/config.go b/logger/config.go index 899fba9..2d32d13 100644 --- a/logger/config.go +++ b/logger/config.go @@ -102,7 +102,7 @@ func NewRotateLogConfig(logPath string, logFile string, option ...SetRotateLogCo return nil, LogPathEmptyError() } c := &RotateLogConfig{ - TimeIntervalType: 0, + TimeIntervalType: TimeIntervalTypeHour, LogPath: logPath, LogFileName: logFile, DivisionChar: "",