feat(middle-msg) make log msg standard

This commit is contained in:
黎白南 2021-10-05 21:36:57 +08:00
parent b75aa1d141
commit 5061b2e3da
1 changed files with 10 additions and 0 deletions

10
pkg/middle-msg/logx.go Normal file
View File

@ -0,0 +1,10 @@
package middle_msg
import "time"
type LogContext struct {
Level string
Data time.Time
Msg string
Route string
}