add comment

This commit is contained in:
p_caiwfeng
2021-10-20 15:11:21 +08:00
parent 6cacb3ab84
commit db39003e4f

View File

@@ -19,6 +19,7 @@ type Format struct {
}
// 2009/01/23 01:23:23 d.go:23: message
// same like log.SetFlags(log.LstdFlags | log.Lshortfile)
func (*Format) Format(e *log.Entry) ([]byte, error) {
return []byte(
fmt.Sprintf("%s %s:%d: %s\n",