فهرست منبع

remove unnecessary tag

kevin 5 سال پیش
والد
کامیت
797a90ae7d
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      core/logx/tracelog.go

+ 3 - 3
core/logx/tracelog.go

@@ -10,9 +10,9 @@ import (
 
 type tracingEntry struct {
 	logEntry
-	Trace string          `json:"trace,omitempty"`
-	Span  string          `json:"span,omitempty"`
-	ctx   context.Context `json:"-"`
+	Trace string `json:"trace,omitempty"`
+	Span  string `json:"span,omitempty"`
+	ctx   context.Context
 }
 
 func (l tracingEntry) Error(v ...interface{}) {