chore: refactor logx file time format (#4335)

This commit is contained in:
Kevin Wan
2024-08-27 22:01:01 +08:00
committed by GitHub
parent 075817a8dd
commit 896e1a2abb
2 changed files with 9 additions and 7 deletions

View File

@@ -30,7 +30,8 @@ const (
var (
// ErrLogFileClosed is an error that indicates the log file is already closed.
ErrLogFileClosed = errors.New("error: log file closed")
fileTimeFormat = time.RFC3339
fileTimeFormat = time.RFC3339
)
type (