os/log: extra time prefix #3720
Labels
bug
It is confirmed a bug, but don't worry, we'll handle it.
cannot reproduce
We cannot reproduce it, it might resolved in new version or you should give more details.
Go version
go version go1.22.5 linux/amd64
GoFrame version
2.7.1
Can this bug be reproduced with the latest release?
Option Yes
What did you do?
g.Log().Info(ctx,log...)
2024-08-05T01:52:25.193000486Z 2024-08-05 09:52:25 [INFO]xxxxxxxx......
(default)+config(format)+[INFO]+log
After configuration, prefix repetition time。
What did you see happen?
g.Log().Info(ctx,log...)
2024-08-05T01:52:25.193000486Z2024-08-05 09:52:25 [INFO]xxxxxxxx......config(format)+[INFO]+log
What did you expect to see?
g.Log().Info(ctx,log...)
2024-08-05T01:52:25.193000486Z2024-08-05 09:52:25 [INFO]xxxxxxxx......config(format)+[INFO]+log
The text was updated successfully, but these errors were encountered: