Compare commits

...

1 Commits

Author SHA1 Message Date
yuguojian
91f65064ff 更新日志 2025-07-16 10:16:39 +08:00

View File

@@ -49,14 +49,18 @@ type LogInfo struct {
Result interface{} `json:"result,omitempty"` // 结果返回值传指针如果是报错传err
}
type param struct {
Type string `json:"type"`
Value interface{} `json:"value"`
type TempGLog struct {
Time string `json:"Time"`
TraceId string `json:"TraceId"`
Level string `json:"Level"`
Content string `json:"Content"`
}
type result struct {
Type string `json:"type"`
Value interface{} `json:"value"`
type GLog struct {
Time string `json:"Time"`
TraceId string `json:"TraceId"`
Level string `json:"Level"`
Content *LogInfo `json:"Content"`
}
func ZapDebug(logger *zap.Logger, log *LogInfo) {