feat:disable log prefix date & timestamp

This commit is contained in:
zhangxiaoyu.york 2026-03-10 15:10:54 +08:00
parent 110fc71349
commit eac7b671be

View file

@ -52,6 +52,8 @@ type LogEntry struct {
func init() { func init() {
once.Do(func() { once.Do(func() {
logger = &Logger{} logger = &Logger{}
// disable default log prefix date & timestamp
log.SetFlags(0)
}) })
} }